Skip to content

Tailored meteorological insights via REST API – whether you're looking for a day, a year, or everything in between, for a specific station.

Notifications You must be signed in to change notification settings

IsraelAzoulay/station-spectrum-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherRESTful API

WeatherRESTful API is a Flask-based web application that provides access to temperature data from various weather stations around the world. The application allows you to fetch temperature readings for specific dates, all dates, or based on a specific year for a given station.

Features

  • View list of weather stations available in the dataset
  • Fetch temperature data for a specific date for a given station
  • Fetch all temperature data available for a particular station
  • Retrieve yearly temperature data for a given station

Prerequisites

Ensure you have the following installed on your local machine:

  • Python 3.x
  • pip

Installation & Usage

  1. Clone the repository: git clone https://github.com/IsraelAzoulay/station-spectrum-weather.git

  2. Navigate to the project directory: cd WeatherRESTful-API

  3. Install the necessary dependencies: pip install -r requirements.txt

  4. Run the Flask application: python main.py

Once the server is running, open your browser and visit http://127.0.0.1:5000/ to access the application.

API Endpoints

Data Source

The temperature data is sourced from text files in the data_small directory. Each file corresponds to a specific weather station.

Contributing

Pull requests are welcome.

License

This project is licensed under the MIT License.

About

Tailored meteorological insights via REST API – whether you're looking for a day, a year, or everything in between, for a specific station.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published