Rbitcoin
Rbitcoin copied to clipboard
Support for blockchain.info api code
Would you mind adding support for the API code to blockchain.api.query and toBTC. If it's easier I can create a pull request with the modifications.
what do you mean by b-info API code? I'm very happy to make Rbitcoin community driven so I open for PR. Would it be backward compatible?
You can request an API code from bc.info to bypass the throttle limits. I don't think there are different versions of the API, so compatibility shouldn't be an issue (correct me if I'm wrong). The url for the query would simple need &api_code= or ?api_code=, depending on the query, along with the API code.
The API code probably needs to be added as an optional input to the function. I've forked the repo, I'll add the code to test it out.
@mpiccirilli great, looking forward. Surely the more generic API would be useful. I was even thinking about backing the market.api.process function by some external language library to handle multiple exchanges and which will also support them in future. There is a lot which can be done, the most important IMO is #8 which would allows to data mine on blockchain.