2017 © Pedro Peláez
 

library claymore-api

Get your miner stats from Claymore Dual Miner

image

czpechy/claymore-api

Get your miner stats from Claymore Dual Miner

  • Tuesday, June 19, 2018
  • by czPechy
  • Repository
  • 2 Watchers
  • 5 Stars
  • 57 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 4 Versions
  • 27 % Grown

The README.md

GitHub version travis-ci.com codecov.io, (*1)

ClaymoreJsonPHP

Get JSON stats from Claymore Dual Miner, (*2)

Install with composer

$ composer require czpechy/claymore-api

How to use

$host = '192.168.1.1:3333'; // IP address & port for your miner (black console claymore response)
$client = new \czPechy\Claymore\Client($host);

echo $client->getJson(); // or $client->getData() for object

Result

{
  "version": "10.0 - ETH",
  "runtime": {
    "minutes": 1332,
    "start": "2018-01-16 20:49:41"
  },
  "eth": {
    "hashrate": 115156,
    "shares": {
      "accepted": 873,
      "rejected": 0
    }
  },
  "dcr": {
    "hashrate": 0,
    "shares": {
      "accepted": 0,
      "rejected": 0
    }
  },
  "pool": "eth-eu1.nanopool.org:9999",
  "gpus": [
    {
      "title":"GPU0",
      "name":"GeForce GTX 1070 Ti, 8192 MB available, 19 compute units, capability: 6.1",
      "hashrate": {
        "eth": 28735,
        "dcr": null
      },
      "temp": 66,
      "fan": 77,
      "shares": 30
    },
    {
      "title": "GPU1",
      "name":"GeForce GTX 1070 Ti, 8192 MB available, 19 compute units, capability: 6.1",
      "hashrate": {
        "eth": 28814,
        "dcr": null
      },
      "temp": 77,
      "fan": 60,
      "shares": 30
    },
    {
      "title": "GPU2",
      "name":"GeForce GTX 1070 Ti, 8192 MB available, 19 compute units, capability: 6.1",
      "hashrate": {
        "eth": 28816,
        "dcr": null
      },
      "temp": 60,
      "fan": 71,
      "shares": 30
    },
    {
      "title": "GPU3",
      "name":"GeForce GTX 1070 Ti, 8192 MB available, 19 compute units, capability: 6.1",
      "hashrate": {
        "eth": 28790,
        "dcr": null
      },
      "temp": 71,
      "fan": 45,
      "shares": 30
    }
  ]
}

Donate me <3

ETH: 0x7D771A56735500f76af15F589155BDC91613D4aB
UBIQ: 0xAC08C7B9F06EFb42a603d7222c359e0fF54e0a13

The Versions

19/06 2018

dev-master

9999999-dev https://github.com/czPechy/ClaymoreJsonPHP

Get your miner stats from Claymore Dual Miner

  Sources   Download

MIT GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Martin Pecha

19/06 2018

v1.1.1

1.1.1.0 https://github.com/czPechy/ClaymoreJsonPHP

Get your miner stats from Claymore Dual Miner

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Martin Pecha

19/06 2018

v1.1.0

1.1.0.0 https://github.com/czPechy/ClaymoreJsonPHP

Get your miner stats from Claymore Dual Miner

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Martin Pecha

18/01 2018

v1.0.0

1.0.0.0 https://github.com/czPechy/ClaymoreJsonPHP

Get your miner stats from Claymore Dual Miner

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Martin Pecha