module

GoogleMapsApi::Place

Class methods

details(place_id : String, opts = {} of Symbol => String | Int32)

Query for the details of a Place by place_id

Source
nearby(lat : String | Float64, lng : String | Float64, opts = {} of Symbol => String | Int32)

Query for Places nearby the passed latitude and longitude. This endpoint requires either radius or rankby which should be added to the opts

GoogleMapsApi::Place.nearby(40.714224, -73.961452, {radius: 1000})
Source
nearby(place : GooglePlace, opts = {} of Symbol => String | Int32)

Query near another place

Source