Skip to main content

unofficial python api wrapper for ura data services api

Project description

pyura

License: MIT codecov Build Status Documentation Status

URA publishes URA related data for public use and is available for download for the creation, development and testing of innovative applications by third party. This is an unofficial python api wrapper for URA data services api.

References: https://www.ura.gov.sg/maps/api

Getting Started

Prerequisites

You can register for an account here. After activation of your account, you will receive an email with an access key from which you can generate a token for access to the API. The email will also contain a user manual on URA Data Service API in PDF format.

Installing

Install the package using pip

pip install pyura

Usage

Initialize client with access key. Each endpoint is represented by a function within the Client. Please refer to examples (recommended) or documentation for information on other endpoints.

URA_ACCESS_KEY = ''

client = Client(URA_ACCESS_KEY)
client.get_token()

carpark_availability = client.carpark_availability()

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyura, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyura-1.0.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page