新聞公報搜尋
「新聞公報搜查」為網上服務,提供搜尋功能以檢索政府新聞處提供的「新聞公報」數據集([https://data.gov.hk/tc-data/dataset/hk-isd-gnmis-gnmis](https://data.gov.hk/tc-data/dataset/hk-isd-gnmis-gnmis))。
資源
資料集名稱及介紹採用官方繁體中文詮釋資料;資源欄位沿用英文目錄來源的原文,資源內容語言另列。
格式: JSON · 語言: en, zh-Hant, zh-Hans
-
###HTTP method: GET
https://api.data.gov.hk/v1/pressrelease/search?start=<param>&end=<param>&lang=<param>&official=<param>&type=<param>###Query parameters:
- **start**: Optional. Start date (inclusive) in YYYYMMDD format (earliest accepted date: refer to the Data Dictionary).
- **end**: Optional. End date (inclusive) in YYYYMMDD format (latest accepted date: today).
- **lang**: Optional. Filter results by language. Default is all languages. Valid values are:
- **en**: English,
- **tc**: Traditional Chinese,
- **sc**: Simplified Chinese.
- **official**: Required. Codes of official.
- **type**: Optional. Filter results by type. Default is all types. Valid values are:
- **press**: General press releases,
- **speech**: Speeches.###HTTP Response:
- The response is encoded in UTF-8
- Refer to the [Data Dictionary](https://resource.data.one.gov.hk/opendata/pressrelease-search/pressrelease-search-data-specification.pdf) for details.