Get Started
Welcome to the Singapore Data SDK! This unofficial TypeScript/JavaScript SDK provides a unified interface to access various Singapore Government open datasets, including:
- Open Data (data.gov.sg): Weather, Air Quality, Datasets, and Collections.
- LTA DataMall: Transport-related datasets like bus arrivals, traffic, and more.
- Static Data: Geography, administrative boundaries (regions, areas, subzones), and postal districts.
Installation
You can install the SDK via your preferred package manager:
bash
npm install @singfuse/singaporebash
yarn add @singfuse/singaporebash
pnpm add @singfuse/singaporeOverview
The SDK exports three primary modules corresponding to the data sources:
OpenData- For data.gov.sg real-time APIs.LtaDataMall- For Land Transport Authority APIs.- Static Data constants - Direct exports of various static sets (
regions,areas,subzones,postalDistricts).
Check the sidebar for detailed documentation on each data source.