Skip to content

leogregianin/async-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages