Crate airkorea [] [src]

airkorea

Airkorea API wrapper using Airkorea mobile page.

Example

Be careful when using this code, it's not being tested!
let status = airkorea::search(lng, lat)?;
println!("Station address: {}", status.station_address);
for pollutant in status {
    println!("{}", pollutant);
}

Reexports

pub use errors::Error;
pub use errors::ErrorKind;
pub use errors::Result;

Modules

errors

Structs

AirStatus
Pollutant

Enums

Grade

Functions

search