Skip to content

PHP-library to retrieve data from your ethOS mining rig

Notifications You must be signed in to change notification settings

rutgerkirkels/EthosApiClientPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

ethOS Client for PHP

This client makes it easy to connect to the panel of your ethOS cryptocurrency miners.

Initiate the client:

$client = new \RutgerKirkels\Ethos_Api_Client\Client(<id_of_your_ethos_panel>);

Get all miners the current hashrate for all miners:

$miners = $client->getAllMiners();

foreach ($miners as $miner) {
    echo 'Hashrate for miner ' . $miner->getId() . ': ' . $miner->getHashrate() . ' MH/s<br/>';
}

About

PHP-library to retrieve data from your ethOS mining rig

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages