Questions tagged [yahoo-api]

discusses the open web services and APIs offered by Yahoo!

Troubleshooting deserialization problems in C# and Java

Currently, I am working on a task that involves parsing through a JSON file and extracting the titles of each record from a Yahoo API. Would appreciate any guidance or tips on how to proceed with this. Here is the snippet of code I've been using: Htt ...

Exploring the Yahoo Finance Websocket with Angular

Upon visiting the Yahoo finance website (for example, ), I noticed that the page establishes a WebSocket connection. The URL for this WebSocket is wss://streamer.finance.yahoo.com/ I'm currently working on a small project where I need to retrieve dat ...

Exception Encountered - Restrict output to error message exclusively

I have the following code snippet and am interested in printing only the error message (No data found, symbol may be delisted). Can anyone suggest a cleaner implementation? import yahoo_fin.stock_info as si import sys try: quoteinfo = si.get_data(&quo ...

I'm looking to access the Yahoo Weather API data through the JSON object's channel -> item -> forecast -> {day1} {day2} {day3} {day4} {day5}. How can I do this retrieval?

I attempted to access the forecast data but encountered issues, specifically a NullPointerException and sometimes crashes. This is because I am unable to retrieve the data from item -> forecast -> {data}. Within the Item class: condition = new ...