Skip to content

tregismoreira/coinmarketcap-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoinMarketCap PHP Wrapper

PHP wrapper class for CoinMarketCap, built on top of Guzzle.

Requirements

Installation

composer require tregismoreira/coinmarketcap-php

Usage

<?php

require __DIR__ . '/vendor/autoload.php';

use CoinMarketCap\Base;

$coinmarketcap = new Base();

// Get ticker
$coinmarketcap->getTicker();

// Get ticker by coin
$coin = 'bitcoin';
$coinmarketcap->getTickerByCoin($coin);

// Get global data
$coinmarketcap->getGlobalData();

See the API documentation for more information about the endpoints and responses.

About

PHP wrapper class for CoinMarketCap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages