#observatory #weather #api-bindings #hong-kong

hko

Rust library for Hong Kong Observatory Open Data API

24 stable releases

Uses new Rust 2024

1.13.0 Jan 27, 2026
1.12.2 Jul 22, 2025
1.12.0 Nov 21, 2024
1.11.4 Mar 30, 2024
1.5.1 Nov 18, 2021

#432 in Web programming

MIT license

120KB
2.5K SLoC

This is a library for users to access Hong Kong Observatory Open Data API.

Hong Kong Observatory Open Data API provides weather, earthquake information, and other open data including climate information.

This library provides interfaces to parse JSON-based response from the API, returning Rust data types. To use them, refer the documentation of Mods, Structs, Enums, Functions, as well as Macros.

More details of the API, refer hko.gov.hk (or 中文).


hko

Crate API Docs License Build

A Rust library for Hong Kong Observatory Open Data API.

Status

Hong Kong Observatory Open Data API version 1.12 full coverage.

Licence

MIT

Dependencies

~8–16MB
~217K SLoC