saudcrypto / coinmarketcap-api-php

PHP client for CoinMarketCap JSON API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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\Conimarketcap();
$client->getTickers();
$client->getTicker('bitcoin');
$client->getExcahngeRate('ethereim', 'USD');
$client->convertToFiat(10, 'ethereum', 'USD');
$client->convertToCrypto(10, 'USD', 'ethereum');
$client->getGlobals();

License

MIT. See LICENSE

About

PHP client for CoinMarketCap JSON API

License:MIT License


Languages

Language:PHP 100.0%