rutgerkirkels / ethos-api-client
A PHP client to connect to your ethOS mining rig through the Ethos Panel API
1.0.1
2018-03-04 07:12 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-09-28 07:50:17 UTC
README
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/>'; }