@bipsync/apiclient

Bipsync API Client

Stats

StarsIssuesVersionUpdatedCreatedSize
@bipsync/apiclient
0.1.210 months ago4 years agoMinified + gzip package size for @bipsync/apiclient in KB

Readme

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
latest note title #1
latest note title #2
latest note title #3
...

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.