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 APIs will be unavailable from September 19th, 2024, 06:00 pm to September 19th, 2024, 10:00 pm due to upstream service's system maintenance. We apologise for the inconvenience caused.

Listing of Licensed Tobacco Importers and Wholesalers - Dec 2021

Data from Jul 2021 to Dec 2021Updated 4 months ago

HSA (Health Sciences Authority)

Listing of Licensed Tobacco Importers and Wholesalers - Dec 2021

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
          
datasetId = "d_2a990463983b3164d5d06cfdc1d4b4cd"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + datasetId + "/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)

About this dataset

Contact

alfred_leong@hsa.gov.sg

Created on

15 Apr 2022

Licence

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

Agency

HSA (Health Sciences Authority)

Dataset usage

141
Views
10
Downloads
10
API calls