1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Copyright (c) 2021 - 2025 GreenYun Organization
// SPDX-License-Identifier: MIT
//! Open Data (Climate and Weather Information)
//!
//! Open data contains such datasets:
//! - Hourly heights of astronomical tides ([`hhot`])
//! - Times and heights of astronomical high and low tides ([`hlt`])
//! - Times of sunrise, sun transit and sunset ([`srs`])
//! - Times of moonrise, moon transit and moonset ([`mrs`])
//! - Cloud-to-ground and cloud-to-cloud lightning count ([`lhl`])
//! - Latest 10-minute mean visibility ([`ltmv`])
//! - Daily Mean Temperature ([`clmtemp`])
//! - Daily Maximum Temperature ([`clmmaxt`])
//! - Daily Minimum Temperature ([`clmmint`])
//! - Weather and Radiation Level Report ([`ryes`])
//!
//! **The main data type in each module is `Response`.**
//!
//! Each `Response` has implementation of
//! [`FromStr`](std::str::FromStr). Parse the string with
//! [`from_str`](std::str::FromStr::from_str) and get the data type if
//! succeeded.
//!
//! Public funtions `url` and `fetch` are provided in each module to fetch data
//! with the API.
//!
//! - **HTTP Request Method**: GET
//! - **Return Type**: JSON or CSV (except `ryes`)
use concat_url;
use Display;
pub use ;