Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueluna/smhi-observations
Rust crate for fetching weather observations from SMHI
https://github.com/blueluna/smhi-observations
Last synced: about 1 month ago
JSON representation
Rust crate for fetching weather observations from SMHI
- Host: GitHub
- URL: https://github.com/blueluna/smhi-observations
- Owner: blueluna
- License: 0bsd
- Created: 2024-05-17T22:20:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-20T08:09:12.000Z (8 months ago)
- Last Synced: 2024-05-20T09:28:53.564Z (8 months ago)
- Language: Rust
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SMHI weather observations
Helpers for the Swedish Meteorological and Hydrological Institute (SMHI) open API for weather observations.
## Example
Get stations that provide the parameter ***temperature***.
```shell
$ cargo run --example get-stations -- --parameter temperature
```Get temperature readings for the last day from station 97400 (Stockholm-Arlanda).
```shell
$ cargo run --example get-data -- --parameter temperature --station 97400 --period day
```