plumbing.weather#

This module targets the Weather Information API provided by the HKO.

class hoda.plumbing.weather.Weather[source]#

Class to interact with the weather information API.

__init__(session=None, *, language: Literal['tc', 'sc', 'en'] = 'en')[source]#

Initialize the class

Parameters:
  • session – aiohttp session, leave blank to let the library create one for you.

  • language – Language to use

weather(language: Literal['tc', 'sc', 'en'] = 'en')[source]#

Weather endpoint