Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

SunTrip

Determine a weather forecast along a route using Google Directions API.

If you want to test it, you'll need to get a Google Directions API key as well as a forecast.io key.

Both of these keys should go into a file named api_key.py. This file will have two variables: directions_api_key and weather_api_key. The file isn't synced to github because I don't want my API keys abused.

Usage

For command line usage, simply call main.py and follow the prompts.

./main.py
Enter a start location: University of Waterloo
Enter an end location:  Square One, Mississauga, ON
Choose a transportation method.
[1] bicycling (default)
[2] driving
[3] walking
: 1
Write to file? (Y/n):   Y
Enter a filename. Leave blank for default (results.csv): 

Screenshots of output

Clear weather, with forecast along route

Semi-bad conditions along the route

About

Determine a weather forecast along a route using Google Directions API and forecast.io. Uses Leaflet to display the results.

Resources

License

Releases

No releases published

Packages

No packages published