Skip to content

utopictown/coinmarketcap-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coinmarketcap-wrapper

PHP wrapper for CoinMarketCap API

currently support only for cryptocurrency API https://coinmarketcap.com/api/documentation/v1/#tag/cryptocurrency

INSTALLATION

composer require utopictown/coinmarketcap-api-wrapper

USAGE

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/

Available Hook

  • getCryptocurrencyMap
  • getCryptocurrencyInfo
  • getCryptocurrencyListingsHistorical
  • getCryptocurrencyListingsLatest
  • getCryptocurrencyMarketPairs
  • getCryptocurrencyOHLCVHistorical
  • getCryptocurrencyOHLCVLatest
  • getCryptocurrencyPerformanceStats
  • getCryptocurrencyQuotesHistorical
  • getCryptocurrencyQuotesLatest

About

PHP wrapper for CoinMarketCap API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published