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
Project details
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-1.1.0.tar.gz
.
File metadata
- Download URL: singstat-1.1.0.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a47bfbe287bdef94196f00bddb3b9ac637940cacb28e1cfdb4341abff87d69e |
|
MD5 | 8cfe8e9954e46e518e79968458187d78 |
|
BLAKE2b-256 | 7aae9a291d3e198bf8d4973ebd64ab84f9b0a33ca8b0006874c659e479426171 |
File details
Details for the file singstat-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: singstat-1.1.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08611ad7528b883850173e7bc59b5d04bb33608d00fad018fe70c7eef2caffe |
|
MD5 | a93fee7a98c5aa2c3b60514fc5c9c457 |
|
BLAKE2b-256 | 29cff221a6ec16f474972d37c7b39738cd85c0943316bfbf4d8a960b59b761ee |