Skip to content

mxmua/prjctr-back-end-with-python-entrance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Average Temperature Calculator

The script temperature_7d_avg.py calculates the average temperature over the past seven days for a specified city.

Setup

  1. Install Python 3.x on your system.
  2. Clone this repository and navigate to the project directory.
  3. Install required Python libraries:
pip install -r requirements.txt

Usage

Run the script from the command line by specifying a city name:

python temperature_7d_avg.py "City name"

Notes

The script uses a Free APIs for non-commercial use and the limitations are:

  • For Open-Meteo API: Less than 10'000 API calls per day, 5'000 per hour, 600 per minute.
  • For Geocode.xyz API: 1 API call per second.

About

Modern Back-end with Python - entrance test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages