Skip to content

krorten/suprnova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Suprnova

Laravel wrapper for Suprnova API

Suprnova is a Suprnova api wrapper for Laravel 5.5

Install

composer require krorten/suprnova

Post Install

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

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

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

Also, add the Suprnova facade to the aliases array in your app configuration file:

'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

//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

About

Laravel API Wrapper for Suprnova

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages