daycry / coinmarketcap
PHP wrapper class for CoinMarketCap.
Installs: 120
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/daycry/coinmarketcap
Requires
- php: >=5.3.0
- nategood/httpful: *
README
PHP wrapper class for CoinMarketCap, built on top of HttpFull.
Requirements
Installation
composer require daycry/coinmarketcap
Usage
<?php
require __DIR__ . '/vendor/autoload.php';
use CoinMarketCap\Base;
$coinmarketcap = new Coinmarketcap( 'key' );
// Get ticker
$coinmarketcap->getLatest();
// Get global data
$coinmarketcap->getGlobal();
See the API documentation for more information about the endpoints and responses.