@bipsync/apiclient

Bipsync API Client

Usage no npm install needed!

<script type="module">
  import bipsyncApiclient from 'https://cdn.skypack.dev/@bipsync/apiclient';
</script>

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
...