Post
Topic
Board Pools
Looking for help with Eligius API.
by
WayKewl
on 21/12/2014, 20:16:26 UTC
Pardon if I'm posting in the wrong section... Looking for help with Eligius API.

With no JSON expertise at all, my objective is to return "raw" comma delimited *CURRENT* public stats.

I found "PAST" block info using:
http://eligius.st/~wizkid057/newstats/api.php?cmd=getblocks&limit=1&format=csv&csvastext=1
luck,confirmations,blockhash,height,duration,age,roundstart,roundend,hashrate,...
36.825168438117,1,000000000000000007a3c7c6791d1a28241620035d4677fbe65c97853efa48a4,335277,...
And the format it returns is what I want... but...

I'm looking for real time current Pool Hashrate; Round Time(duration); and current Round Luck as displayed on the main Eligius page. The data from the query above is last block/round, not current round.

I wanting to call directly from a browser and return raw data exactly as with the "getblocks" above using the cvsastext format.

Would anyone have the correct http://eligius.st/~wizkid057/newstats/api.php?cmd= I would use for CURRENT info?

Thanks in advance for any direction you can provide.