2017 © Pedro Peláez
 

library coinmarketcap-php

PHP wrapper class for CoinMarketCap.

image

tregismoreira/coinmarketcap-php

PHP wrapper class for CoinMarketCap.

  • Sunday, April 23, 2017
  • by tregismoreira
  • Repository
  • 2 Watchers
  • 5 Stars
  • 347 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

CoinMarketCap PHP Wrapper

PHP wrapper class for CoinMarketCap, built on top of Guzzle., (*1)

Requirements

Installation

composer require tregismoreira/coinmarketcap-php, (*2)

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., (*3)

The Versions

23/04 2017

dev-master

9999999-dev

PHP wrapper class for CoinMarketCap.

  Sources   Download

MIT

The Requires

 

by Thiago Régis