A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Real-time Weather APIs will be unavailable from 24 Nov 2024 12:00 AM to 12:00 PM due to upstream maintenance.

Singapore Police Force Police Speed Laser Cameras (SHP)

Updated 6 months ago

SPF (Singapore Police Force)

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the data catalogue of this dataset. For a complete guide on query parameters and syntax, please refer to the API documentation

import requests
          
dataset_id = "d_90eecbaf6b13d2980d610755a0441466"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + dataset_id + "/poll-download"
        
response = requests.get(url)
json_data = response.json()
if json_data['code'] != 0:
    print(json_data['errMsg'])
    exit(1)

url = json_data['data']['url']
response = requests.get(url)
print(response.text)

Citation

This dataset can be reused and cited in research publications.

Singapore Police Force. (2016). Singapore Police Force Police Speed Laser Cameras (SHP) (2024) [Dataset]. data.gov.sg. Retrieved November 23, 2024 from https://data.gov.sg/datasets/d_90eecbaf6b13d2980d610755a0441466/view

About this dataset

Contact

feedback@data.gov.sg

Created on

29 Dec 2016

Licence

Free forever for personal or commercial use, under the Open Data Licence.

Agency

SPF (Singapore Police Force)

Dataset usage

47
Views
9
Downloads
10
API calls