# yahoo-weather-rs
Easy yahoo weather API access for rust

# yahoo-weather-rs

The yahoo-weather-rs create downloads the actual weather data for a given location and transforms it into rust data structures.
---
## Usage
Add `yahoo-weather-rs` as a dependency in `Cargo.toml`:
```toml
[dependencies]
yahoo-weather-rs = { git = "https://github.com/Roba1993/yahoo-weather-rs" }
```

Use the `get_weather()` function to get the weather data.
```rust
extern crate yahoo_weather;

fn main() {
    // Request the data
    let weather = yahoo_weather("Berlin").unwrap();

    // print it to the console
    println!("Weather: {:?}", weather);
}
```
---
## License
Copyright © 2016 Robert Schütte

Distributed under the [MIT License](LICENSE).

Add a simple example to the readme
Add a simple example to the readme
