CodeforAustralia / rerouteit

Code For Australia's version of the US ReRoute It transport choices application
MIT License
5 stars 0 forks source link

Implement class to communicate with Google Directions API #3

Closed cdaloisio closed 10 years ago

cdaloisio commented 10 years ago

A set of methods are required to communicate with the Google Directions API.

A library already exists: https://github.com/joshcrews/google-directions-ruby

Keeping in mind that it will also need to support the API optional parameters.

Feel free to fork this or start from the beginning.

ghost commented 10 years ago

@cdaloisio Did some testing on the gem and found that it can be used for our requirement.

you can specify optional parameters - eg GoogleDirections.new('melbourne', 'perth', :mode => 'walking').xml

ghost commented 10 years ago

Pull request #14 could we close this ?

cdaloisio commented 10 years ago

I'll close this as you have done testing on the gem to confirm it's functionality.