2017 © Pedro Peláez
 

library suprnova

Suprnova.cc api wrapper for Laravel 5.5

image

krorten/suprnova

Suprnova.cc api wrapper for Laravel 5.5

  • Thursday, October 19, 2017
  • by krorten
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Suprnova

Laravel wrapper for Suprnova API, (*1)

Suprnova is a Suprnova api wrapper for Laravel 5.5, (*2)

Install

composer require krorten/suprnova

Post Install

After installing, register the Krorten\Suprnova\Providers\CryptocompProvider in your config/app.php configuration file:, (*3)

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

    Krorten\Suprnova\Providers\SuprnovaProvider::class,
],

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

'Suprnova' => Krorten\Suprnova\Facades\SuprnovaFacade::class,    

Examples

You need to set the type of coin before you can retreive any info. And also the API Key found in your account, (*5)

//Get user(wallet addr) general summary
Suprnova::setType('zec')->setApiKey('')->user();
//Get list of workers with connected to user(wallet addr)
Suprnova::setType('eth')->setApiKey('')->workers();

//Other actions to use
->hashrate
->balance
->dashboard
->transactions

License

Suprnova API Wrapper is open-sourced software licensed under the MIT license, (*6)

The Versions

19/10 2017

dev-master

9999999-dev https://github.com/krorten/suprnova

Suprnova.cc api wrapper for Laravel 5.5

  Sources   Download

MIT

The Requires

 

by Kai Rune Orten

laravel bitcoin altcoin suprnova