//! Minimal example — copy this to get started.
//!
//! ```sh
//! cargo run --example quickstart
//! ```

#[tokio::main]
async fn main() -> nemweb::Result<()> {
    let prices = nemweb::dispatch().fetch().await?;
    for p in &prices {
        println!("{} ${:.2}/MWh at {}", p.region, p.price, p.settlement_date);
    }
    Ok(())
}
