Skip to content
/ pyura Public

unofficial python api wrapper for ura data services api

License

Notifications You must be signed in to change notification settings

amosang/pyura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

unofficial python api wrapper for ura data services api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages