Skip to content

apranav19/pydirections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydirections

Build Status

PyDirections is an easy to use Python client for Google's Directions API. Through this client you can request directions between any two points for the following modes of transport:

  • Driving
  • Walking
  • Bicycling
  • Public Transit

Quick Start

Installing PyDirections

You can install PyDirections through pip by running the command: pip install pydirections

Requesting Driving Directions

To request driving directions between two addresses, create a Director object and supply the two addresses.

import pydirections

director = pydirections.Director.configure_api_key(<YOUR API KEY>)
routes = director.fetch_directions(origin="123 Fake St Springfield, MA", dest="456 Fake St Springfield, MA", mode="driving")

About

A Python client for Google's Directions API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages