Skip to main content

URA Token Package

This is a small example to obtain URA API token.

Register for your access key with URA

Example:

import requests
import json

from ura_token import ura_token

u=ura_token.ura_token('<place your ura access key here>')

url="https://www.ura.gov.sg/uraDataService/invokeUraDS?service=Car_Park_Availability"
myobj = {'AccessKey': u.get_accesskey(), 'token': u.get_token(), 'User-Agent': 'Mozilla/5.0'}
resp = requests.post(url, headers=myobj)

print(json.dumps(resp.json()['Result'], indent=4))

Questions or bugs, please write to chengguan.teo@gmail.com.

Metadata

Release files for ura-token-pkg-chengguan 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ura-token-pkg-chengguan 0.0.4
File Size Uploaded Provenance Actions
ura-token-pkg-chengguan-0.0.4.tar.gz 2.9 kB Without provenance Details for ura-token-pkg-chengguan-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ura-token-pkg-chengguan 0.0.4
File Interpreter ABI Platform Actions
ura_token_pkg_chengguan-0.0.4-py3-none-any.whl Python 3 none any Details for ura_token_pkg_chengguan-0.0.4-py3-none-any.whl

Total release size: 6.7 kB

Release files / ura-token-pkg-chengguan-0.0.4.tar.gz

Download URL ura-token-pkg-chengguan-0.0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
09b7e95177154802f98c7b59864dbf132d1bcd2085aabd86c43270b428cad62e
BLAKE2b-256 checksum
How to use checksums
9d1faa128b52d9c87c11ed1736691b133d481cae630135829f9997babe631838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / ura_token_pkg_chengguan-0.0.4-py3-none-any.whl

Download URL ura_token_pkg_chengguan-0.0.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5aadf939950776fca7fb5d7c7e11ea26e4a87603192da24207bb92a1a581b7eb
BLAKE2b-256 checksum
How to use checksums
8d96394fdfee5293e575013e577962b0bf4daefccf877c3cb29466f609fc4694
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Security for ura-token-pkg-chengguan 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page