4 releases
0.2.0 | May 23, 2024 |
---|---|
0.1.2 | May 22, 2024 |
0.1.1 | May 22, 2024 |
0.1.0 | May 21, 2024 |
#7 in #locality
127 downloads per month
61KB
815 lines
weather-union rust implementation
A rust implementation lib for weatherunion api.
Quickstart
let instance = WeatherUnion::from_key("api_key".to_string());
let weather_info = instance.locality(LocalityId::ZWL#).await.unwrap();
println!("Live temperature for {}", LocalityId::ZWL#.locality_name());
println!("{}", weather_info.temperature);
Where "api_key" is your WeatherUnion api key and ZWL# is a locality id from here
Dependencies
~4–16MB
~191K SLoC