PHP client for CoinMarketCap JSON API
Branch: master
Clone or download
trntv Merge pull request #1 from sleever/patch-1
Fixed a couple of types regarding initial usage
Latest commit 440a645 Apr 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Jan 29, 2018
tests Initial commit Jan 29, 2018
.gitignore Initial commit Jan 29, 2018
.travis.yml Badges Jan 29, 2018
LICENSE MIT License Jan 29, 2018
README.md Fixed a couiple of types regarding initial usage Apr 13, 2018
composer.json composer.json fix Jan 29, 2018
composer.lock Initial commit Jan 29, 2018
phpunit.xml Initial commit Jan 29, 2018

README.md

Coinmarketcap.com API Client

Build Status License Latest Stable Version Total Downloads

PHP client for CoinMarketCap JSON API

Installation

composer require rentberry/coinmarketcap-api

Usage

$client = new Rentberry\Coinmarketcap\Coinmarketcap();
$client->getTickers();
$client->getTicker('bitcoin');
$client->getExchangeRate('ethereum', 'USD');
$client->convertToFiat(10, 'ethereum', 'USD');
$client->convertToCrypto(10, 'USD', 'ethereum');
$client->getGlobal(); 

License

MIT. See LICENSE