Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including eportaljs with all npm packages installed. Try it out:

var eportaljs = require("eportaljs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eportaljs v0.0.1

Eportal book API wrapper

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.


via npm:

npm install eportaljs


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);


$ npm test
$ make test-cov

MIT License


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free