Skip to main content

Python package for interacting with APIs available at SingStat.gov.sg

Project description

Python 3 PyPi PyPi status GNU General Public License v3.0 Documentation Status

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:

  1. Import the Client class.

  2. Instantiate an object from the Client class.

  3. 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

SingStat.gov.sg’s Developer Guide

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

singstat-1.1.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

singstat-1.1.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

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

Hashes for singstat-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3a47bfbe287bdef94196f00bddb3b9ac637940cacb28e1cfdb4341abff87d69e
MD5 8cfe8e9954e46e518e79968458187d78
BLAKE2b-256 7aae9a291d3e198bf8d4973ebd64ab84f9b0a33ca8b0006874c659e479426171

See more details on using hashes here.

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

Hashes for singstat-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d08611ad7528b883850173e7bc59b5d04bb33608d00fad018fe70c7eef2caffe
MD5 a93fee7a98c5aa2c3b60514fc5c9c457
BLAKE2b-256 29cff221a6ec16f474972d37c7b39738cd85c0943316bfbf4d8a960b59b761ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page