getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
372 stars 156 forks source link

Is there a API for gettings easy data from the Miner? #218

Closed fynnsh closed 5 years ago

fynnsh commented 6 years ago

I woud like to get simple infortmation off my Miners like Status /ON/OFF hashrate and temp is there like a json api or something included?

michelem09 commented 6 years ago

Yes there is but it's under authentication you should remove a line of code to be able to use it, look here https://github.com/getminera/minera/issues/206#issuecomment-367763715

Then url will be: http://<ip>/minera/index.php/app/api?command=miner_stats and http://<ip>/minera/index.php/app/api?command=stats