google-maps-services-ruby
google-maps-services-ruby copied to clipboard
Ruby gem for Google Maps Web Service APIs
Hi @edwardsamuel, I'm maintaining a fork of this gem at [langsharpe/google-maps-services-ruby](https://github.com/langsharpe/google-maps-services-ruby). Would you be prepared to make me an owner on [rubygems.org](https://rubygems.org/gems/google_maps_service)? I've updated the gem to: - Support newer...
#### Explanation: This change leaves KPH as the default while adding the ability to send 'MPH' to the roads.rb #### Example request: ``` google_client = GoogleMapsService::Client.new google_client.speed_limits('ChIJaw1TDuC22YgRf6hEN94cT58') => [{:placeId=>"ChIJaw1TDuC22YgRf6hEN94cT58", :speedLimit=>88.51392,...
Hello, upgraded my app to Ruby 3.0.1 and it looks like `hurley-0.2` which is a dependency of your product broke the gem. Getting that error while calling `DirectionsApi` ``` 2021-04-28T17:21:35.996Z...
It looks like there have been no changes in this project for a couple of years now, and it would be great to update some of its dependencies. Are you...
This PR adds support for the traffic_model parameter From [Google's docs](https://developers.google.com/maps/documentation/directions/intro#traffic-model): > traffic_model (defaults to best_guess) — Specifies the assumptions to use when calculating time in traffic. This setting affects...
These changes take care of the credentials steps that may have changed on Google's API dashboard #14
The current doc instructions say that a Server Key should be made but when creating credentials, there's only the option to create either an API key, OAuth client ID, or...
I was checking if there's support for lat and lng parameters in the gem, but I didn't found any tests in the directions_spec.rb using them as parameters, I'm gonna use...
- When doing a directions search, if you enter an invalid address (i.e. 'dsadsfdfdscfrcerf, Tanzania'), a GoogleMapsService::Error::NotFoundError is raised
Added a feature that allows 'return_type: :all' to be passed into the client.directions method, which returns the full Hash output, rather than just the [:routes] entry Can change the argument...