@bipsync/apiclient

1.0.2 • Public • Published

Installation

npm install @bipsync/apiclient

Examples

Getting the latest notes

example.js

require( '@bipsync/apiclient' )()
    .then( function( client ) {
        // make a request to the research api
        client.request( 'v1/research' )
            .then( function( response ) {
                // grab the results
                return response.results;
            } )
            .map( function( research ) {
                // print the title for each document
                console.log( research.title );
            } ); } );

run it

$ node example.js // --options='{"property":"value"}'
latest note title #1
latest note title #2
latest note title #3
...

Readme

Keywords

Package Sidebar

Install

npm i @bipsync/apiclient

Weekly Downloads

10

Version

1.0.2

License

ISC

Unpacked Size

36.9 kB

Total Files

13

Last publish

Collaborators

  • jbbipsync
  • jhpbipsync
  • jackcorscadden
  • mttmccb_bipsync
  • steff_bipsync
  • steveh_bipsync
  • paulatbipsync
  • craig_bipsync