#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

#386 in Web programming

Download history 20/week @ 2024-02-18 3/week @ 2024-02-25 158/week @ 2024-03-03 33/week @ 2024-03-10 1/week @ 2024-03-17 337/week @ 2024-03-24 267/week @ 2024-03-31

645 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.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–15MB
~168K SLoC