[Shared By kunilkuda] SG-Weather Project using OneMap and NEA API

Source is contributed by @kunilkuda

Demo code (using NodeJS) is posted to https://gitlab.com/kunilkuda/sg-weather if anyone interested.

Basically:

Use OneMap search API to locate longitude / latitude of the address
Use OneMap get token for auth
Use OneMap planning area to determine the town of the address
Fetch NEA 2 hours forecast, based on the town

Continuing the discussion from Mapping Road Name to the Town:

1 Like