2-hour-weather-forecast

GET

2-hour-weather-forecast

Get the latest two hour weather forecast
  • Retrieved half-hourly from NEA
  • Forecasts are given for multiple areas in Singapore
  • The area_metadata field in the response provides longitude/latitude information for the areas. You can use that to place the forecasts on a map
  • Use the date_time parameter to retrieve the latest forecast issued at that moment in time
  • Use the date parameter to retrieve all of the forecasts issued for that day

Resource URL

https://api.data.gov.sg/v1 /environment/2-hour-weather-forecast

Query Parameters


Name Values Description
date_time

YYYY-MM-DD[T]HH:mm:ss (SGT) E.g. 2016-12-12T09:45:00

date

YYYY-MM-DD E.g. 2016-12-12


Header Parameters


Name Values Description
api-key
(required)

Data.gov.sg API Consumer Key

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Content Type

application/json

Category

Environment

Working...