How can I grab from monero pool my own hashrate speed? its dynamic page so I need some help:) I would like to create my own chart for my speed of hashrate when is up or down. Any idea?
Go to your pools config file ../config.js i.e. moneropool.com/config.js
Get the your pools api variable: var api="https://api.moneropool.com" i.e. api.moneropool.com
to get pool stats add "/stats" to the api url i.e. api.moneropool.com/stats
to get your stats add "/stats_address" and send parameters longpool and address i.e. https://api.moneropool.com/stats_address?longpool=false&address=YOURADDRESS
If you are mining on a pool that uses the node-cryptonote-pool software, the pool uses a publicly available API. So you could do the same. Here's where the call happens: https://github.com/zone117x/node-cryptonote-pool/blob/da62fd8393434baa74260c6f085456730073444d/website_example/pages/home.html#L374
You would need to set
address to your pool and address. Most pools have a
config.js file like this one: https://moneropool.com/config.js. That file shows your pool's api address.