daycry/coinmarketcap
PHP wrapper class for CoinMarketCap.
Maintainers
2.0.0
2019-09-29 19:27 UTC
Requires
- php: >=5.3.0
- nategood/httpful: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT b9dfb7bba5f007e57468f9f0d039a47cc9ebb377
- Daycry <daycry9.woop@gmail.com>
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.
