Python package for interacting with APIs available at SingStat.gov.sg
Project description
This is an unofficial Python package for interacting with APIs available at SingStat.gov.sg.
Installing the package
Install the package using pip:
pip install singstat
Using the package
The main steps are:
Import the Client class.
Instantiate an object from the Client class.
Call a function on that object.
For more information, refer to the documentation.
Usage overview
Interacting with SingStat.gov.sg’s API is done through a client.
This client contains several public functions, one function per endpoint. A function’s name is the same as its corresponding endpoint’s ending path.
Most functions accept named arguments, where an argument corresponds with a parameter that the endpoint accepts.
Reference
Other Packages Built by Me
If you like this package, you may be interested in these packages that I have built to work with other Government of Singapore APIs:
datagovsg: for interacting with APIs available at Data.gov.sg.
landtransportsg: for interacting with APIs available at LTA DataMall.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file singstat-2.0.2.tar.gz
.
File metadata
- Download URL: singstat-2.0.2.tar.gz
- Upload date:
- Size: 48.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4837bc1ad92fb5361b24ee8f7178e1b4e54c7a9bfd83df095c585196f52e639e
|
|
MD5 |
79d27011250bf979d9bb0c59141eb24c
|
|
BLAKE2b-256 |
364f98fe4ee34f3b18c411d660389b62ea5801ae2004d0983ba420766d2e002e
|
File details
Details for the file singstat-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: singstat-2.0.2-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a9684bb845e7bac36a45506e0c08e173c47233c6dc9fd18e8bad68320ed57f2b
|
|
MD5 |
ab7e96636d7a083f777a2dde7bf4ef1c
|
|
BLAKE2b-256 |
3a1d5c2a72055c2863fa21f9ae83a745fd26d7e26c205fad413c12ced9bba354
|