KenDB3 wrote:
it seems down... whats going on... I got this error...
There was a problem getting data from Coinbase.com.
The sysop has been notified.
[Hit a key] |o
---
rua Synchronet rua Internetking BBS - inetk.synchro.net
I just checked it myself. It appears to be something going on with the Coinbase.com API. The call I used was not well documented, so this may take some work to figure out if it is temporarily broken, or if an entirely new method is needed to get the data.
Maybe look at the coindesk api?
https://www.coindesk.com/api/
You could build in 2-3 different ways to obtain the price in case the primary method fails, you have a backup.
Thanks Nelgin, I have been looking for ways to fix this, but it looks like I'm not looking at any quick fixes.
Coinbase.com doesn't really have a support channel, they point you to stackoverflow.com. So, I posted there. I even got an answer, but it is not one that I am happy with.
Link:
https://stackoverflow.com/questions/51417285/coinbase-api-v2-getting-hist oric-price-for-multiple-days
If the old method of getting the data is gone, and that is their new method, it is going to break stuff in the functions I built. First, there needs to be a method to convert number of days to a start date and end date. Second, the Coinbase API seems to always return max data points. Third, it is not time slicing it into days, even when I try to tell it to. Fourth, their max data points is less than I would like for the ability to have an expandable screen size (for your number of columns, specifically).
That all means, you are very likely correct, and I'll have to see what else is out there for bitcoin APIs that could do what I am looking for.
As of right now, my free time is extremely limited. If anyone wants to submit fixes via GitHub, feel free. Or even, do a fork, and take it in your own direction. But, as it looks right now, it is going take me a while to get a fix in place (or, at least, a fix that I am happy with).
~KenDB3
---
* Synchronet * KD3net-Rhode Island's only BBS about nothing.
http://bbs.kd3.us
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)