plumbing.constants#
- hoda.constants.LANGUAGE#
Language Types
Available languages:
tc
: Traditional Chinesesc
: Simplified Chineseen
: English
alias of
Literal
[‘tc’, ‘sc’, ‘en’]
- hoda.constants.WEATHER_DATA_TYPE#
Weather Data Types
Available items:
flw
: (forecast) local weatherfnd
: (forecast) nine-daysrhrread
: current weather report (anyone have any idea what the “acronym” stands for?)warnsum
: current warning summarywarningInfo
: weather warning infoswt
: special weather tips
alias of
Literal
[‘flw’, ‘fnd’, ‘rhrread’, ‘warnsum’, ‘warningInfo’, ‘swt’]
- hoda.constants.WEATHER_ICONS#
HKO Weather icons
Reference: https://www.hoda.gov.hk/textonly/v2/explain/wxicon_e.htm
5x
: sunny/sunny with clouds6x
: cloudy/rain7x
: nighttime8x
: misc/haze9x
: temperature
- hoda.constants.WEATHER_ICON_URL = 'https://www.hoda.gov.hk/images/HKOWxIconOutline/pic{id}.png'#
The icon url for
WEATHER_ICONS