#open-weather-map #weather-api #api-key #city #name

owm-rs

Wrapper around the free offer of the OpenWeatherMap API

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

Download history

427 downloads per month

MIT license

17KB
343 lines

owm-rs

Simple (unofficial) wrapper to call the Open Weather Map API.

Prerequisites

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

Dependencies

~6–22MB
~228K SLoC