- Don't convert response keys from camelCase to snake_case, i.e. leave the keys untouched.
Client
's methods' argument names are still required to be in snake_case.
- Updated minimum Python version to v3.11.
Alert! This version was yanked because it requires an incorrect version of Python.
- Add type hints for input arguments and output responses.
- Type check performed by typeguard.
- Add packages:
requests-cache
,typeguard
,types-requests
.
- Breaking: Require argument names and response keys to use snake_case. This is enforced with
typeguard
. - Breaking:
tabledata()
: Remove the argumentvariables
, because SingStat removed it from the endpoint. - Require minimum Python version to v3.10.
- Remove packages:
backoff
,cachetools
,pytz
.
- Commit contributions from @qiujunda92 to interact with SingStat.gov.sg's documented API endpoints as of January 2024.
- Add user-agent in header.
- Update endpoint base path.
- Update
pytz
version.
- Update package build to use
build
.
- Update
pytest
requirement.
- Use relative imports.
Initial version to interact with SingStat.gov.sg's documented API endpoints as of August 2019.