CKAN 應用程式介面請求
開發者可以透過以下方式向CKAN應用程式介面作出請求,取得特定語言網站中的資料集詮釋資料。
英文
https://data.gov.hk/en-data/api/3/action/[functionName?para1=value1¶2=value2&...]
繁體中文
https://data.gov.hk/tc-data/api/3/action/[functionName?para1=value1¶2=value2&...]
簡體中文
https://data.gov.hk/sc-data/api/3/action/[functionName?para1=value1¶2=value2&...]
開發者需自行把functionName
, para*
和 value*
轉換成合適的CKAN應用程式介面功能和參數。
CKAN提供的所有應用程式介面功能及參數列於 http://docs.ckan.org/en/latest/api/index.html#module-ckan.logic.action.get
完整的使用例子可參考 支援的CKAN應用程式介面功能及示範.