Skip to content

Repository files navigation

Weather Forecast

Python code which generates a 7-day temperature forecast from a weather API.

Weather Forecast App)

Features

  • Rich Markdown formatted
  • User input city/place name
  • Output today's weather + next 6-days forecast
  • Both °C and °F

Installation

Clone the repository and install the required packages:

Fork 🔁 the Repl in Replit.

Usage

This has not been deployed but code can be run directly on the Repl linked above.

You may want to research alternative weather apis. This project currently uses: SheCodes Weather API

  • API key required

You could replace the SheCodes API with any of the following:

  1. OpenWeather API
  2. Open-Meteo API
  3. Free Weathger API

Development Ideas

  1. Find another or switch to an alternative API that offers sunrise, sunset times.
  2. Create an hourly forecast section with accruate precipitation and wind forecast for the current day (again would require a different API).
  3. Deploy on Streamlit for better UX.

Contributing

Found a bug or have an idea? Fork the repo, make changes, and submit a pull request.

Contact

Created by Chardi
Feel free to reach out with questions or suggestions.

About

Python code which generates a 7-day temperature forecast from a weather API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages