22 stable releases

1.12.0 Nov 21, 2024
1.11.5 Aug 31, 2024
1.11.4 Mar 30, 2024
1.11.0 Nov 18, 2023
1.5.1 Nov 18, 2021

#463 in Web programming

Download history 86/week @ 2024-08-25 46/week @ 2024-09-01 133/week @ 2024-09-08 321/week @ 2024-09-15 83/week @ 2024-09-22 15/week @ 2024-09-29 124/week @ 2024-11-17 14/week @ 2024-11-24

138 downloads per month

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.12 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

~2–14MB
~164K SLoC