Post
Topic
Board Pools
Re: [100 TH] Slush's Pool (mining.bitcoin.cz); TX FEES + UserDiff; ASIC tested
by
miningfever
on 04/12/2013, 09:37:41 UTC
Hi,

I just created a very simple script (php/mysql) to track my personal progress on the pool, fetching the data every 30 minutes. I want to use this for some detailed after the fact ROI analysis.
However, I noticed that not all fields that are visible on the stats page are provided in the JSON response from the API. Would it be possible to add these?

The fields I am interested in are the following (I am using the personalized API with an API token).

For blocks:
  • My Shares
  • Block value, including TX fees
  • The slush block number, although not really relevant I would like to add it just for reference purposes

For the pool itself:
  • The current difficulty

That would really help!

If anyone is interested in the script: currently it does absolutely nothing but fetch the data at a regular interval (cronjob), and it is by far the ugliest piece of code I have ever written (in 30 minutes) , but it does the job.
I'd be more than happy to share it with you if you want, but don't expect anything fancy just yet! Smiley