Twinkle HubTwinkle Hub

香港天文/潮汐 (HKO)

hk_rt_astronomy

🇭🇰 香港読み取り専用

Scope: Hong Kong public datasets and government data.

Fetch HKO astronomy / tide data (yearly · tide-station specific).

Args: dataType: SRS → sunrise / transit / sunset (needs year=) MRS → moonrise / transit / moonset (needs year=) HHOT → hourly tide heights (needs year= + month= + station=) year: 4-digit year (e.g. 2026). month: 1-12 · required for HHOT. station: tide station code · required for HHOT (CCH=Cheung Chau, KLW=Ko Lau Wan, LOP=Lok On Pai, MWC=Ma Wan, QUB=Quarry Bay, SPW=Shek Pik, TAP=Tai Po Kau, TBT=Tsim Bei Tsui, TMW=Tai Miu Wan, WAG=Waglan Island). lang: "en" | "tc" | "sc"

Returns raw JSON or {"format": "csv", "text": ...} for CSV responses.

パラメータ

名前説明
dataTypestring
yearinteger
monthinteger
stationstring
langstring
生の JSON schema
{
  "properties": {
    "dataType": {
      "default": "SRS",
      "title": "Datatype",
      "type": "string"
    },
    "year": {
      "default": 2026,
      "title": "Year",
      "type": "integer"
    },
    "month": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Month"
    },
    "station": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Station"
    },
    "lang": {
      "default": "en",
      "title": "Lang",
      "type": "string"
    }
  },
  "title": "hk_rt_astronomyArguments",
  "type": "object"
}

呼び出し方

スターター——パラメータは​上表参照
hk_rt_astronomy({ dataType: "…" })