coinlore/cruptocurrency-prices

Simple library for PHP to use coinlore crypto api

dev-master 2020-02-13 16:16 UTC

This package is auto-updated.

Last update: 2024-06-14 02:21:02 UTC


README

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.

Installation

composer require coinlore/cruptocurrency-prices
OR
composer require "coinlore/cruptocurrency-prices @dev" 

Usage

 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);

License

MIT license