Search
tubeulator.api.endpoint.routes.search ¶
Accessed via dynamic method resolution under tubeulator.fetch.search
.
Example: tubeulator.fetch.search
A few of these are unclear on how to call them, but they have meta methods:
>>> categories = fetch.search.meta_categories()
>>> fetch.search.meta_search_providers()
['content', 'stopPoints', 'extraPlaces', 'extraPlacesAutocomplete', 'addressPlaces']
>>> fetch.search.meta_sorts()
['lastModified,asc', 'lastModified,desc', 'date,asc', 'date,desc', 'score,asc', 'score,desc', 'timestamp,asc', 'timestamp,desc']
SearchEndpointRoutes ¶
Bases: RouteEnum
search
class-attribute
instance-attribute
¶
Search the site for occurrences of the query string. The maximum number of results returned is equal to the maximum page size of 100. To return subsequent pages, use the paginated overload.
bus_schedules
class-attribute
instance-attribute
¶
Searches the bus schedules folder on S3 for a given bus number.
meta_categories
class-attribute
instance-attribute
¶
Gets the available search categories.
meta_search_providers
class-attribute
instance-attribute
¶
Gets the available searchProvider names.
meta_sorts
class-attribute
instance-attribute
¶
Gets the available sorting options.