JSPM

  • Created
  • Published
  • Downloads 171
  • Score
    100M100P100Q70739F

Client for 1broker api

Package Exports

  • 1broker-client

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 (1broker-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

1broker-client

A very simple 1broker api client, in case you have any suggestions or problems get in touch through github issues.

Disclaimer: By default creating an order will use my refferal_id, which is a way of supporting the development of this module which costs you nothing.

I would appreaciate if you would keep it this way !

Thank You

=====

Examples:

OneBroker = require( "1broker-client" )

client = OneBroker( YOU_API_KEY )

client.account_overview( ( error, overview ) {
  if( error )
    return console.error error;

  console.log( overview );
} );