Accessing the Miner Farm API via R Studio
smk762 last edited by
mfRAW <- POST("https://miner.farm/api/v1/*<shortkey>*/*<long key>*")
mfAPI <- content(mfRAW, "parsed", "application/json")
Replace <short key> and <long key> with your account's API keys
Nested JSON data:
where <x> is your miner number. Use backticks (under ESC, left of 1 on the keyboard) around your miner number to avoid
"unexpected numeric constant"errors.
What to do with the data?
That's up to you, but it sure is nice of PiMP to provide it.
Now I've got the JSON data, I'm working on combining it with other data and visualising it with Shiny.
If I manage to make something worth looking at out of it I'll let you know.
We promise to keep your email safe and never spam you.
Copyright (c) 2012-2018 PiMP LLC. All rights Reserved.