2.1.1 • Published 4 months ago

ongage v2.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Ongage API Javascript Client

Works by composing fetch-compatible request objects.

Installation

$ npm install ongage --save

Usage

import { ContactsApi } from 'ongage';

const contactsApi = new ContactsApi('username', 'password', 'account code');

const { url, ...req } = contactsApi.getByEmail('jonathon@compwright.com');
const res = await fetch(url, req);
const data = await res.json();

API

ContactsApi

ListsApi

  • get(id)
  • getAll({ name, type, sort, order, offset, limit })
  • createExport({ list_id, name, segment_id, mailing_id, date_format, file_format, fields_selected, status })
  • retrieveExport(id)

License

MIT license

2.1.1

4 months ago

2.1.0

4 months ago

2.0.0

4 months ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.0.1

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago