Place
tubeulator.api.endpoint.routes.place ¶
Accessed via dynamic method resolution under tubeulator.fetch.place
.
Example: tubeulator.fetch.place.meta_categories()
Unfortunately most of these methods don't work. This one isn't much use on its own:
PlaceEndpointRoutes ¶
Bases: RouteEnum
places_by_geo_region
class-attribute
instance-attribute
¶
Gets the places that lie within a geographic region. The geographic region of interest can either be specified by using a lat/lon geo-point and a radius in metres to return places within the locus defined by the lat/lon of its centre or alternatively, by the use of a bounding box defined by the lat/lon of its north-west and south-east corners. Optionally filters on type and can strip properties for a smaller payload.
forward_requests
class-attribute
instance-attribute
¶
Forwards any remaining requests to the back-end
meta_categories
class-attribute
instance-attribute
¶
Gets a list of all of the available place property categories and keys.
meta_place_types
class-attribute
instance-attribute
¶
Gets a list of the available types of Place.
search_places
class-attribute
instance-attribute
¶
Gets all places that matches the given query
places_by_type
class-attribute
instance-attribute
¶
Gets all places of a given type
place_by_id
class-attribute
instance-attribute
¶
Gets the place with the given id.
place_by_type_at_coordinates
class-attribute
instance-attribute
¶
Gets any places of the given type whose geography intersects the given latitude and longitude. In practice this means the Place must be polygonal e.g. a BoroughBoundary.