1.1.7 • Published 3 years ago

ongage v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Ongage API Javascript Client

Works by composing fetch-compatible request objects.

Use node-fetch in Node.js applications.

Installation

$ npm install ongage --save

Usage

const fetch = require('node-fetch');
const { ContactsApi } = require('ongage');

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

const { url, ...req } = ongage.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 })

License

MIT license

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago