Expand description
Drop in place sync api client.
Requires the blocking
feature to be enabled.
§Usage
use gw2api_rs::v2::build::Build;
use gw2api_rs::blocking::Client;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::new();
let build = Build::get(&client)?;
println!("{}", build.id);
Ok(())
}
Structs§
- Client
- The synchronous api client.