JSPM

  • Created
  • Published
  • Downloads 24
  • Score
    100M100P100Q64851F

Rosette API Node.JS client SDK

Package Exports

  • rosette-api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rosette-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rosette-api

Rosette API binding for node.js

Getting Started

Install the module with: npm install rosette-api

var rosette-api = require('rosette-api');

Examples

See example directory for more complete examples, but the simplest, an API ping, is below (all other endpoints follow similar patterns):

var api = new Api(args.key);
api.ping(function(err, res) {
  if (err) {
    console.log("ERROR! " + err);
  }
  else {
    console.log(res);
  }
});

License

Copyright (c) 2014-2015 Basis Technology Corporation. Licensed under the Apache License, Version 2.0. See LICENSE.txt