- Used FastAPI to create the API.
- Accessed Data using RapidAPI
- Used Deta for deploying the API
- FastAPI
- RapidAPI
- Deta
From your command line, first clone this repo:
# Clone this repository
$ git clone https://github.com/ParagD25/WeatherAPI/
# Remove current origin repository
$ git remote remove origin
# Create new virtual python environment
$ python3 -m venv venv
# Activate virtual python environment
$ source venv/bin/activate
# Install all the libraries/frameworks mentioned in "requirements.txt"
# Run file locally
$ "python -m uvicorn:main.py --reload"
or visit ๐ https://weather_api-1-u4224059.deta.app/docs
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.