Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

eportaljs

0.0.1 • Public • Published

eportaljs - e-portal books api js wrapper

Build Status e-portaljs provides an interface to OAuth based e-Portal restful api. Currently it only supports two-legged authentication mechanism and book resource.

Installation

via npm:

npm install eportaljs

Usage

var eportal = require('eportaljs')
  , params = {api_host: "somewhere", api_key: "key", api_secret: "secret"};

var eportalClient = new eportal(params);

eportalClient.addBook(book, function (err, data) {
  console.log(err, data);
});

Tests

$ npm test
$ make test-cov

MIT License

Keywords

none

Install

npm i eportaljs

DownloadsWeekly Downloads

12

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar