Wondering what’s next for npm?Check out our public roadmap! »

    buildteam-asset-price

    1.0.0 • Public • Published

    buildteam-asset-price Package Version

    Fetches BUILDTEAM price from bitshares via CryptoFresh

    Installation

    npm i buildteam-asset-price --save
    

    Import

    import getBuildteamTokenPrice from 'buildteam-asset-price'

    Usage

    Simple usage:

      getBuildteamTokenPrice().then((r) => {
        console.log(r);
      }).catch(function(error) {
        console.error(error);
      });

    Usage with options:

      const opts = {
        api: 'https://cryptofresh.com/api/asset/markets?asset=',
        bridge: 'BTS',
        token: 'BUILDTEAM'
      };
      getBuildteamTokenPrice('USD', opts).then((r) => {
        console.log(r);
      }).catch(function(error) {
        console.error(error);
      });

    license

    MIT

    Install

    npm i buildteam-asset-price

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.38 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar