1.1.4 • Published 4 years ago

robintrack-api-utilities v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Robintrack API Utilities

🧰 A collection of utilities for building datasets and interacting with the Robintrack API.

Usage

Module:

npm i -S robintrack-api-utilities

In your app:

const {
  downloadLatestLeaderboard,
  generateSymbolsFile,
  generateSymbolsJSON
} = require('robintrack-api-utilities')

const { data } = await generateSymbolsJSON()
console.dir(data) // ['A','AA','AAAU'...]

CLI:

npm run build -- generate

Generates a JSON file of all ticker symbols on Robintrack and writes it to the json directory.

Tests

npm i -D
npm test

LICENSE

MIT