PHP wrapper for CoinMarketCap API
currently support only for cryptocurrency API https://coinmarketcap.com/api/documentation/v1/#tag/cryptocurrency
composer require utopictown/coinmarketcap-api-wrapper
use Utopictown\CMCWrapper\CMCWrapper;
$cmc = new CMCWrapper(YOUR_API_KEY);
get list of all active cryptocurrencies with latest market data.
$cmc->getCryptocurrencyListingsLatest(['convert' => 'IDR']);
for more params please see https://coinmarketcap.com/api/documentation/v1/
- getCryptocurrencyMap
- getCryptocurrencyInfo
- getCryptocurrencyListingsHistorical
- getCryptocurrencyListingsLatest
- getCryptocurrencyMarketPairs
- getCryptocurrencyOHLCVHistorical
- getCryptocurrencyOHLCVLatest
- getCryptocurrencyPerformanceStats
- getCryptocurrencyQuotesHistorical
- getCryptocurrencyQuotesLatest