Closed henrydabrow closed 6 years ago
Yup I have the same problem and I am getting the same error above as henrydabrow has said.
Same issue here, same command in rails console.
+1
Sorry folks, it's looks like Google shut down this endpoint. If anyone has an alternative, feel free to post it here. Until then, there is not much we can do.
I'm sorry, they really could have warned developers before shutting it down. I've found this api as an alternative: https://www.alphavantage.co/documentation/ it works with a free api key and there is no call limit.
Thanks @Reka85, looks like a gem already exists for this API: https://github.com/StefanoMartin/AlphaVantageRB Have you given that a shot?
Not yet, but I will!
Thanks i'll check it!
Thank you guys!
Last night I found the IEX Trading API, a free, open, high-performance, comprehensive, well-documented finance API. I played around with the API a bit and was pretty impressed. It's functionally an improvement over previous versions that utilized Yahoo and Google Finance APIs.
I am a little hesitant about switching to IEX, an unknown newcomer, given how little stability Yahoo or Google provided - and I HATE breaking changes - but the stock_quote is currently broken.
I'd love some feedback. #56
Unfortunately since march 15th gem works very badly, typing StockQuote::Stock.quote('GOOG') in rails console results error as follows:
2.4.1 :026 > StockQuote::Stock.quote('GOOG') JSON::ParserError: 765: unexpected token at '<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>302 Moved</TITLE></HEAD><BODY><H1>302 Moved</H1>Th'/BODY></HTML> moved<A HREF="https://finance.google.com/search?q=GOOG">here</A>.