use clap::Parser; use roboat::ClientBuilder; use roboat::Limit; #[derive(Parser, Debug)] struct Args { #[arg(long, short)] roblosecurity: String, } #[tokio::main] async fn main() -> Result<(), Box> { let args = Args::parse(); let client = ClientBuilder::new() .roblosecurity(args.roblosecurity) .build(); let item_id = 1365767; let limit = Limit::Ten; let cursor = None; let (resellers, _) = client.resellers(item_id, limit, cursor).await?; println!("Lowest Price for Item {}: {}", item_id, resellers[0].price); Ok(()) }