@bipsync/apiclient

1.0.0 • 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

4

Version

1.0.0

License

ISC

Unpacked Size

36 kB

Total Files

13

Last publish

Collaborators

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