rutgerkirkels/ethos-api-client
Composer 安装命令:
composer require rutgerkirkels/ethos-api-client
包简介
A PHP client to connect to your ethOS mining rig through the Ethos Panel API
README 文档
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/>'; }
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-12