Skip to content

A simple Python script to retrieve location and weather information

License

Notifications You must be signed in to change notification settings

Rainmaker52/ConkyWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConkyWeather

A simple Python script to retrieve location and weather information

ConkyWeather is built on the principle "Better to beg forgiveness than ask permission". Almost everything is encapsulated in try except blocks. The script uses several different free APIs. Users do not have to have to generate API keys or follow difficult signup procedures.

The script uses the "requests" library for HTTP interactions. This is the only dependency.

Some examples:

Get current external IP address:

ConkyWeather.py --externalip

Get the windspeed for today, for the current location

ConkyWeather.py --local --windspeed --day 0

Same thing, at my home location

ConkyWeather.py --home --homewoe 727232 --windspeed --day 0

Get the temperature for tommorrow, at my home location

ConkyWeather.py --home --homewoe 727232 --temperature --day 1

About

A simple Python script to retrieve location and weather information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages