Re-exports§
pub use types::*;
Modules§
- air_
quality - PSI and PM2.5 readings by region. Updated every 15 minutes.
- environment
- UV index, lightning, and heat stress (WBGT) data.
- operations
- Low-level request parts and response codecs, organized by operation.
- types
- Where all types, structs and enums are
- weather_
forecast - Area and regional weather forecasts from NEA MSS.
- weather_
readings - Station-level weather observations (up to 1-minute intervals).
Structs§
- AirTemperature
Action - https://api-open.data.gov.sg/v2/real-time/api/air-temperature
- AirTemperature
Input - https://api-open.data.gov.sg/v2/real-time/api/air-temperature
- Api
- Four
DayOutlook Action - https://api-open.data.gov.sg/v2/real-time/api/four-day-outlook
- Four
DayOutlook Input - https://api-open.data.gov.sg/v2/real-time/api/four-day-outlook
- Pm25
Action - https://api-open.data.gov.sg/v2/real-time/api/pm25
- Pm25
Input - https://api-open.data.gov.sg/v2/real-time/api/pm25
- PsiAction
- https://api-open.data.gov.sg/v2/real-time/api/psi
- PsiInput
- https://api-open.data.gov.sg/v2/real-time/api/psi
- Rainfall
Action - https://api-open.data.gov.sg/v2/real-time/api/rainfall
- Rainfall
Input - https://api-open.data.gov.sg/v2/real-time/api/rainfall
- Relative
Humidity Action - https://api-open.data.gov.sg/v2/real-time/api/relative-humidity
- Relative
Humidity Input - https://api-open.data.gov.sg/v2/real-time/api/relative-humidity
- Twenty
Four HrForecast Action - https://api-open.data.gov.sg/v2/real-time/api/twenty-four-hr-forecast
- Twenty
Four HrForecast Input - https://api-open.data.gov.sg/v2/real-time/api/twenty-four-hr-forecast
- TwoHr
Forecast Action - https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast
- TwoHr
Forecast Input - https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast
- UvAction
- https://api-open.data.gov.sg/v2/real-time/api/uv
- UvInput
- https://api-open.data.gov.sg/v2/real-time/api/uv
- Weather
SubApi Action - Unified weather sub-API endpoint.
- Weather
SubApi Input - Unified weather sub-API endpoint.
- Wind
Direction Action - https://api-open.data.gov.sg/v2/real-time/api/wind-direction
- Wind
Direction Input - https://api-open.data.gov.sg/v2/real-time/api/wind-direction
- Wind
Speed Action - https://api-open.data.gov.sg/v2/real-time/api/wind-speed
- Wind
Speed Input - https://api-open.data.gov.sg/v2/real-time/api/wind-speed
Enums§
- AirTemperature
Operation Response - https://api-open.data.gov.sg/v2/real-time/api/air-temperature
- Four
DayOutlook Operation Response - https://api-open.data.gov.sg/v2/real-time/api/four-day-outlook
- Pm25
Operation Response - https://api-open.data.gov.sg/v2/real-time/api/pm25
- PsiOperation
Response - https://api-open.data.gov.sg/v2/real-time/api/psi
- Rainfall
Operation Response - https://api-open.data.gov.sg/v2/real-time/api/rainfall
- Relative
Humidity Operation Response - https://api-open.data.gov.sg/v2/real-time/api/relative-humidity
- Twenty
Four HrForecast Operation Response - https://api-open.data.gov.sg/v2/real-time/api/twenty-four-hr-forecast
- TwoHr
Forecast Operation Response - https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast
- UvOperation
Response - https://api-open.data.gov.sg/v2/real-time/api/uv
- Weather
SubApi Operation Response - Unified weather sub-API endpoint.
- Wind
Direction Operation Response - https://api-open.data.gov.sg/v2/real-time/api/wind-direction
- Wind
Speed Operation Response - https://api-open.data.gov.sg/v2/real-time/api/wind-speed
Constants§
- SERVER_
URL - Default Upstream URL