graph_weather icon indicating copy to clipboard operation
graph_weather copied to clipboard

Script to fetch OpenMeteo Data(NWP Forecast and Historical data)

Open praj-tarun opened this issue 11 months ago • 0 comments

Pull Request

Description

This pull request adds functionality to fetch both forecast and historical weather data using the OpenMeteo API. It introduces a new class WeatherDataFetcher to encapsulate the data fetching logic and provides methods to fetch forecast data for specific models and historical data from the OpenMeteo API.

  • Created a new class WeatherDataFetcher to handle weather data fetching.
  • Implemented methods to fetch forecast data (fetch_forecast_data) and historical data (fetch_historical_data).
  • Added a method to process hourly data (process_hourly_data) extracted from the API response.
  • Implemented a method to print location information (print_location_info) extracted from the API response.

Fixes #90

praj-tarun avatar Mar 17 '24 16:03 praj-tarun