CoinAPI v2 for JavaScript
Fully rewrited library for CoinAPI.io on JavaScript. Documentation for API. Get free API key here.
Install
~$ npm install coinapi-io --save# or ~$ yarn add coinapi-io --save
Example
;; // Init instance from your APIlet coinapi = '73034021-0EBC-493D-8A00-E0F138111F41'; // Get candlesticks for last 5 hours let last_5_hrs = await coinapi; console; // => Array<Candlestick>