leogregianin / async-weather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather

Create virtual environment

$ virtualenv .venv
$ source .venv/bin/activate

Install Dependencies

$ 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

About

License:MIT License


Languages

Language:Python 100.0%