2017 © Pedro Peláez
 

library coinmc

CoinMarketCap.com api wrapper for Laravel 5.4

image

andskur/coinmc

CoinMarketCap.com api wrapper for Laravel 5.4

  • Friday, June 22, 2018
  • by andskur
  • Repository
  • 2 Watchers
  • 15 Stars
  • 189 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

CoinMc-laravel

PHP version Latest Stable Version, (*1)

CoinMc-laravel is a sCoinMarketCap.com api wrapper for Laravel 5.4, (*2)

Install

composer require andskur/coinmc

Configuration

After installing, register the Andskur\CoinMc\CoinMcServiceProvide in your config/app.php configuration file:, (*3)

'providers' => [
    // Other service providers...

    Andskur\CoinMc\CoinMcServiceProvider::class,
],

Also, add the CoinMc facade to the aliases array in your app configuration file:, (*4)

'CoinMc' => Andskur\CoinMc\CoinMcFacade::class,

Usage

<?php

namespace App\Http\Controllers;

use CoinMc;

class SomeController extends Controller
{
    public function index(CoinMc $coinmc)
    {

        // Get CoinMarketCap tickers sorting by 24h volume
        $coinmc->getTicker();

        // Get ticker for specific coin
        $coin = 'bitcoin';
        $coinmc->tickerCoin($coin);

        // Get global data
        $coinmc->globalData();
    }
}

See the API documentation for more information about the endpoints and responses., (*5)

License

CoinMc-laravel is open-sourced software licensed under the MIT license, (*6)

The Versions

22/06 2018

dev-master

9999999-dev https://github.com/andskur/CoinMc-laravel

CoinMarketCap.com api wrapper for Laravel 5.4

  Sources   Download

MIT

The Requires

 

by Andrey Skurlatov

laravel bitcoin cryptocurrency coinmarketcap coinmarketcap.com

25/05 2017

0.5

0.5.0.0 https://github.com/andskur/CoinMc-laravel

CoinMarketCap.com api wrapper for Laravel 5.4

  Sources   Download

MIT

The Requires

 

by Andrey Skurlatov

laravel bitcoin cryptocurrency coinmarketcap coinmarketcap.com