custom-components / sensor.avanza_stock

Custom component to get stock data from Avanza for Home Assistant
MIT License
46 stars 10 forks source link

Is this still working or is Avanza API just down? #168

Closed mgretz closed 7 months ago

mgretz commented 7 months ago

Home Assistant Component doesnt get any data.

But if i call the Avanza API directly in my browser i get an 404 http error:

https://www.avanza.se/_api/market-guide/exchangetradedfund/1064101

Are there any changes on the API or is it just down?

claha commented 7 months ago

Stock endpoint still seems to work, hopefully just the etf endpoint. I'll try and see if I can find some time this weekend, should be easy to see if something has changed.

https://www.avanza.se/_api/market-guide/stock/1064101

claha commented 7 months ago

Took some time instead 😆 endpoint has changed https://www.avanza.se/_api/market-etf/1064101

So if the returned data has the same structure it is an easy a quick fix :)

claha commented 7 months ago

Underlying package has been updated, I will update manually and run for a day or two beefore pushing it here

teddy-rpi commented 7 months ago

Hi claha, any news on this issue? Is the fix stable? Can I help testing?

claha commented 7 months ago

Should be working now in the new release (1.5.0). Let me know if it doesn't.

teddy-rpi commented 7 months ago

Confirmed, thanks. Everything is back to normal!