gw2lib is an API wrapper for the game Guild Wars 2
Aside from bugs or feature requests that might arise, this crate is considered done! Mapping out structs is the only work left to do and will be crowd-sourced. A lack of activity does not mean that it's unmaintained!
Cargo.toml
toml
[dependencies.gw2lib]
version = "1.0.0"
features = ["blocking"]
```rust use gw2lib::{Client, Requester}; use gw2lib::model::{items::Item, misc::build::Build};
fn main() { let client = Client::default();
let _all_items: Vec<Item> = client.all().unwrap();
let _current_build: Build = client.get().unwrap();
} ```
Cargo.toml
toml
[dependencies.gw2lib]
version = "1.0.0"
```rust use gw2lib::{Client, Requester}; use gw2lib::model::{items::Item, misc::build::Build};
async fn main() { let client = Client::default();
let _all_items: Vec<Item> = client.all().await.unwrap();
let _current_build: Build = client.get().await.unwrap();
} ```
You can find the list of already mapped endpoints here
Please contribute any endpoints that you define additionally!
Missing endpoints are easy to add! Here is an example
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in gw2lib by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.