Skip to content

r3bers/cmcap-api

Repository files navigation

cmcap-api

Build Status Scrutinizer Code Quality Test Coverage Maintainability GitHub license Packagist

A simple PHP wrapper for CoinMarketCap API v1.

Requirements

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require r3bers/cmcap-api

or add

"r3bers/cmcap-api" : "^1.0"

to require the section of your application's composer.json file.

Basic usage

Example

use R3bers\CMCapApi\CMCapClient;

$client = new CMCapClient();
$client->setCredential('API_KEY');

$data = $client->cryptocurrency()->map();

Available methods

Further Information

Please, check the CoinMarketCap site documentation for further information about API.

License

r3bers/cmcap-api is released under the MIT License. See the bundled LICENSE for details.

About

PHP client for CoinMarketCap API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages