A microservice used in Robsin-co. The purpose of this microservice is to fetch the prices of Digital Currencies.
Last updated 2 years ago by amiraliameri .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ccprice 
SYNC missed versions from official npm registry.

CCPrice (CryptoCurrency Price):

CCPrice is a Nodejs Module for retrieving cryptocurrencies prices.


1. Example: Retrieving prices of top 100 most valueable cryptocurrencies using CoinMarketCap API:
const ccprice = require('ccprice');

ccprice.cmcListAll(limit, start, convert);
// returns an object containing data about cryptocurrencies, including price
// limit is an integer, limiting the number of results.
// start is the starting point for counting down cryptocurrencies. cryptocurrencies are ranked // from 'start' to 'start - limit'.
// convert is a string, the currency you want to convert to. example: USD, EUR, etc.  

  1. Example: Retrieving the price of Bitcoin. cmc gives you data about all of the in use cryptocurrencies, but with these specific functions, you can get data about the cryptocurrency you want and you can be sure that the retrieved price is up to date.
const ccprice = require('ccprice');

// returns up to date value of BTC in USD.

Current Tags

  • 0.1.2                                ...           latest (2 years ago)

3 Versions

  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (4)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |