API to search resourceID
/timeseries/resourceId
Usage and SDK Samples
$(document).ready(function() {
$.ajax({
type: "GET",
dataType: "json",
url: "https://www.tablebuilder.singstat.gov.sg/publicfacing/rest/timeseries/resourceId?keyword=gas&searchOption=all",
cache: false,
success: function(data) {
console.log(data);
}
});
});
import json
import urllib.request
urlData = "https://www.tablebuilder.singstat.gov.sg/publicfacing/rest/timeseries/resourceId?keyword=gas&searchOption=all"
webURL = urllib.request.urlopen(urlData)
data = webURL.read()
print(data)
Query parameters
Name | Description |
---|---|
Keyword* |
String
Search text : All, Title, Variable
Required
|
{ generatedBy : string generatedDate: string total : integer records: { resourceId: integer title : string } }