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
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.
Install the package using pip
pip install pyura
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()
This project is licensed under the MIT License - see the LICENSE.md file for details