Skip to main content

Crate lta

Crate lta 

Source

Re-exports§

pub use types::*;

Modules§

bus
Bus related operations.
facility
Facility related operations.
operations
Low-level request parts and response codecs, organized by operation.
taxi
Taxi related operations.
traffic
Traffic related operations.
types
Where all types, structs and enums are

Structs§

Api
GetBusArrivalAction
Returns real-time Bus Arrival information of Bus Services at a queried Bus Stop, including
GetBusArrivalInput
Returns real-time Bus Arrival information of Bus Services at a queried Bus Stop, including
GetBusStopsAction
Returns detailed information for all bus stops currently being serviced by buses, including bus stop codes and location coordinates.
GetBusStopsInput
Returns detailed information for all bus stops currently being serviced by buses, including bus stop codes and location coordinates.
GetFacilitiesMaintenanceAction
Returns links to facility maintenance data files for a queried MRT/LRT station. Each link points to a JSON file describing the maintenance works currently in progress at that station.
GetFacilitiesMaintenanceInput
Returns links to facility maintenance data files for a queried MRT/LRT station. Each link points to a JSON file describing the maintenance works currently in progress at that station.
GetRoadOpeningsAction
Returns all planned road openings, including the new road name and the responsible agency. Update freq: 24 hours – whenever there are updates
GetRoadOpeningsInput
Returns all planned road openings, including the new road name and the responsible agency. Update freq: 24 hours – whenever there are updates
GetRoadWorksAction
Returns road works currently in progress or planned, together with event details and the responsible agency.
GetRoadWorksInput
Returns road works currently in progress or planned, together with event details and the responsible agency.
GetTaxiAvailabilityAction
Returns the coordinates of all taxis currently available for hire.
GetTaxiAvailabilityInput
Returns the coordinates of all taxis currently available for hire.
GetTrafficFlowAction
Returns a link to a JSON file containing hourly average traffic flow, taken from a representative month of every quarter during 0700-0900 hours. Update freq: Quarterly
GetTrafficFlowInput
Returns a link to a JSON file containing hourly average traffic flow, taken from a representative month of every quarter during 0700-0900 hours. Update freq: Quarterly
GetTrafficImagesAction
Returns links to images from traffic cameras located around Singapore, together with each camera’s location coordinates. Update freq: 20 sec
GetTrafficImagesInput
Returns links to images from traffic cameras located around Singapore, together with each camera’s location coordinates. Update freq: 20 sec
GetTrafficIncidentsAction
Returns incidents currently happening on the roads, such as Accidents, Vehicle Breakdowns, Road Blocks, Traffic Diversions etc. Update freq: 2 min
GetTrafficIncidentsInput
Returns incidents currently happening on the roads, such as Accidents, Vehicle Breakdowns, Road Blocks, Traffic Diversions etc. Update freq: 2 min
GetTrafficSpeedBandsAction
Returns current traffic speeds on expressways and arterial roads, expressed in speed bands.
GetTrafficSpeedBandsInput
Returns current traffic speeds on expressways and arterial roads, expressed in speed bands.

Enums§

GetBusArrivalResponse
Returns real-time Bus Arrival information of Bus Services at a queried Bus Stop, including
GetBusStopsResponse
Returns detailed information for all bus stops currently being serviced by buses, including bus stop codes and location coordinates.
GetFacilitiesMaintenanceResponse
Returns links to facility maintenance data files for a queried MRT/LRT station. Each link points to a JSON file describing the maintenance works currently in progress at that station.
GetRoadOpeningsResponse
Returns all planned road openings, including the new road name and the responsible agency. Update freq: 24 hours – whenever there are updates
GetRoadWorksResponse
Returns road works currently in progress or planned, together with event details and the responsible agency.
GetTaxiAvailabilityResponse
Returns the coordinates of all taxis currently available for hire.
GetTrafficFlowResponse
Returns a link to a JSON file containing hourly average traffic flow, taken from a representative month of every quarter during 0700-0900 hours. Update freq: Quarterly
GetTrafficImagesResponse
Returns links to images from traffic cameras located around Singapore, together with each camera’s location coordinates. Update freq: 20 sec
GetTrafficIncidentsResponse
Returns incidents currently happening on the roads, such as Accidents, Vehicle Breakdowns, Road Blocks, Traffic Diversions etc. Update freq: 2 min
GetTrafficSpeedBandsResponse
Returns current traffic speeds on expressways and arterial roads, expressed in speed bands.

Constants§

SERVER_URL
Default Upstream URL