Quick project I put together using the Google Maps API to grab directions in text form. I will be probably be adding more features as time goes on
- Natural language support for departure/arrival times
- Ability to specify desired mode of transport (biking, transit, driving)
- Option to avoid roads and tolls
- Linking to actual page in case you wanna look at a map
- Pretty printing, with some colors
./map.py -m transit -d "tomorrow evening" -u metric "123 Your House, Toronto ON" "4567 Your Mom's House, Waterloo, ON"
main.py [options] origin destination
- -h, --help
- -m MODE, --mode=MODE specifies type of transportation desired
- -u UNITS, --units=UNITS specifies choice between metric and imperial systems
- -a ARRIVAL_TIME, --arrival=ARRIVAL_TIME specifies desired time of arrival. can be stated in natural language
- -d DEPARTURE_TIME, --departure=DEPARTURE_TIME specifies desired time of departure, can be stated in natural language
- -e AVOID, --evade=AVOID specifies choice in avoiding tolls or highways