11 stable releases
| 1.0.18 | Sep 13, 2025 |
|---|---|
| 1.0.17 | Nov 12, 2024 |
| 1.0.16 | Apr 23, 2024 |
| 1.0.14 | Jun 9, 2023 |
| 1.0.6 | Dec 22, 2022 |
#108 in Geospatial
427 downloads per month
17KB
343 lines
owm-rs
Simple (unofficial) wrapper to call the Open Weather Map API.
Prerequisites
- An OWM API key (Your Dashboard)
Testing the source code and running examples
Create at the root of the project a .env file, with the following content:
omw_api_key: "xxxx",
city_name: "yyyy",
Where xxxx is your OWM API key (See Prerequisites), and yyyy is the city name you want to use for testing. (E.g., London)
Then, run the tests with:
cargo run --color=always --package owm-rs --example basic --profile dev --features=utils
Something missing, have a request or something is broken?
Please create an issue here I'll treat it as soon as possible!
Changelog
1.0.17
- Updated dependencies
- Changed the instructions to run tests; now uses a .env file to be created at the root of the project, see #Testing the source code and running examples
Dependencies
~6–22MB
~228K SLoC