README
Yeep JavaScript Client
Yeep API client for Node.js and the browser.
Features
- Works with Node.js v.6+ or any modern browser (incl. ie11);
- Exposes promise-based API (supports async/await);
- Manages session renewal automatically;
- Implements Yeep API methods, exactly matching naming scheme.
Installation
$ npm install @yeep/client
Quick start
Create yeep client
const YeepClient = require('@yeep/client');
const yeep = new YeepClient({
baseURL: 'https://yeep.acme.com', // replace this with your own domain
});
Create session to use with authenticated API requests, a.k.a. login
yeep
.login({
user: 'coyote@acme.com',
password: 'catch-the-b1rd