1.0.8 • Published 4 years ago

tokensets-api v1.0.8

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

TokenSets API

Unofficial & minimal node.js wrapper around the tokensets.com APIs. Leverages typescript & axios.

Usage:

Import and instance the module, then call API methods as desired. All API methods return a promise:

const TokensetsAPI = require('tokensets-api');
const TokenAPI = new TokensetsAPI({});

(async () => {
  const rebalanceSetList = await TokenAPI.fetchRebalanceSets();
  console.log('rebalanceSetList: ', rebalanceSetList);

  const rebalanceSet = await TokenAPI.fetchRebalanceSet('setIdString');
  console.log('rebalanceSet: ', rebalanceSet);
})();

Contributions & Thanks

If you found this project interesting or useful, create accounts with my referral links:

Or feed my coffee addiction using any of these:

  • BTC: 1C6GWZL1XW3jrjpPTS863XtZiXL1aTK7Jk
  • ETH (ERC20): 0xd773d8e6a50758e1ada699bb6c4f98bb4abf82da

Improvements & Pull Requests

Contributions are encouraged, I will review any incoming pull requests. See the issues tab for todo items.

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago