Skip to content

jampola/dead_simple_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Dead Simple Weather

What is this?

This grabs weather data from Yahoo's weather API using YQL and allows you to format an output.

Usage

app.py (optional) "location" "string message"

Settings

See settings.py for example.

Set userstring and/or location to False to specify in command line arguements. Eg.

app.py "New York" "The current temp is #current_temp"

String substitution list

Example Output

user_string='''Current Temp in #city (#region) is #current_temp with a high of #forecast_high and a low of #forecast_low''' 

Output

Current Temp in Melbourne (Victoria) is 14.4° with a high of 16.4° and a low of 6.7°

Author

James Bos

About

Pull and customize ahoo RSS weather feed in the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages