nandibear.com
by Nandi Bear
May 6, 2020

Will try to share a few more of these this week (examples: get pool's BCH hashrate, get your BCH hashrate, get your payouts).
You can either include the following code on the page you want the results to display on or you can save this as a file itself and call it on any page.
...
Read entire article: https://nandibear.com/bitcoin-com-mining-pool-api-v2-get-blocks-using-pure-php