#weather #opendata #observatory #hong-kong

nightly hko

Rust library for Hong Kong Observatory Open Data API

17 stable releases

1.11.4 Mar 30, 2024
1.11.0 Nov 18, 2023
1.9.0 Jul 16, 2023
1.8.1 Mar 9, 2023
1.5.1 Nov 18, 2021

#4 in #opendata

MIT license

115KB
2.5K SLoC

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.11 full coverage.

Licence

MIT


lib.rs:

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 中文).

Dependencies

~1–13MB
~153K SLoC