eportaljs
Eportal book API wrapper
Last updated 7 years ago by iapain .
MIT · Original npm · Tarball · package.json
$ cnpm install eportaljs 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (7 years ago)

1 Versions

  • 0.0.1                                ...           7 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |