Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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