Skip to content

coinlore/CoinLore-Cryptocurrency-API-for-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Simple API Client for CoinLore

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