Simple library for NodeJS to use coinlore crypto api Coinlore.com API
Coinlore provides original cryptocurrency data, coin prices calculated by own algorithm, market caps, trade volumes and more, information updated every minute or less.
composer require coinlore/cruptocurrency-prices
OR
composer require "coinlore/cruptocurrency-prices @dev"
require_once __DIR__ . '/vendor/autoload.php';
$client = new \Coinlore\Request();
//Get Bitcoin Info
$coins = $client->getcoin(90);
//Get coins from 0 to 100
$coins = $client->getcoins(0,100);
//Get coin markets
$coins = $client->getcoinmarkets(90);
//Get exchanges
$coins = $client->getexchanges();
//Get exchange
$coins = $client->getexchange(5);
//Get social stats
$coins = $client->getsocialstats(90);
print_r($coins);
MIT license