warningInfo
Retrieve current weather warnings from Hong Kong Observatory, including summary, special, and reminder warnings. Supports English, Traditional Chinese, and Simplified Chinese.
Instructions
Weather Warning Information (warningInfo) API Request
Parameters:
lang: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/weather.php?dataType=warningInfo&lang=en
Response Keys:
Warning_Summary: Array of warning summary objects
Special_Warning: Array of special warning objects (if any)
Reminder_Warning: Array of reminder warning objects (if any)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | change the language of the result | en |