https://github.com/thevickypedia/weather_report
This is a fun project using open-weather-map api
https://github.com/thevickypedia/weather_report
Last synced: about 2 months ago
JSON representation
This is a fun project using open-weather-map api
- Host: GitHub
- URL: https://github.com/thevickypedia/weather_report
- Owner: thevickypedia
- License: mit
- Created: 2020-06-07T19:12:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-02T18:56:00.000Z (almost 5 years ago)
- Last Synced: 2025-02-12T22:22:29.775Z (4 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# weather_report
This is a fun project using [openweathermap](https://openweathermap.org/api) api## Setup:
1. git clone this repository
2. Run this command in your terminal to install necessary packages
pip3 install -r requirements.txt3. Add the env variable: api_key - The api key which was generated from [openweathermap](https://openweathermap.org/api)
This project includes reverse geocoding as an add-on, since the api does not return state/county information of the city.
Click to learn more about [pytemperature](https://pypi.org/project/pytemperature/) and [geopy](https://pypi.org/project/geopy/)
## Extras:
[Old Weather](weather_old.py) uses reverse geo coding to get the location of the city which is hardcoded.
The old weather application will only fetch that day's weather info.[Weather](weather.py) uses reverse geo coding to get the location of the city and state which is hardcoded.
The old weather application will fetch that week's weather info.[Weather by Location](weather_by_location.py) sends a request to [ipinfo](http://ipinfo.io/) to get the ip and location of
the request machine. Using these information, it fetches that week's weather info. While running [this](weather_by_location.py) application
from an unverified network might require api key from [ipinfo](http://ipinfo.io/) through a [sign up](https://ipinfo.io/signup)## License & copyright
© Vignesh Sivanandha Rao, Weather Report
Licensed under the [MIT License](LICENSE)