Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leogregianin/async-weather
https://github.com/leogregianin/async-weather
async openweathermap-api python weather
Last synced: about 18 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/leogregianin/async-weather
- Owner: leogregianin
- License: mit
- Created: 2021-06-24T22:04:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T05:25:52.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T14:42:53.912Z (6 months ago)
- Topics: async, openweathermap-api, python, weather
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Weather
### Create virtual environment
```sh
$ virtualenv .venv
$ source .venv/bin/activate
```### Install Dependencies
```sh
$ pipenv install
```### Get API Token
* Get API Token in openweathermap.org
### Using
* Export API_TOKEN to your environment variables: ```export API_TOKEN=YOUR_TOKEN```
* Include your cities in cities.json to get weather info
* Run weather.py to get JSON file with informations### License
MIT