- Notifications
You must be signed in to change notification settings - Fork12
Extensible Gw2 API wrapper library for Rust
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHEMIT
LICENSE-MITNotificationsYou must be signed in to change notification settings
greaka/gw2lib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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!
New releases of the model will be made whenever a new endpoint is added or an endpoint needs fixing.You can update the model in your project by simply runningcargo update
.
Cargo.toml
[dependencies.gw2lib]version ="1.0.0"features = ["blocking"]
use gw2lib::{Client,Requester};use gw2lib::model::{items::Item, misc::build::Build};fnmain(){let client =Client::default();let _all_items:Vec<Item> = client.all().unwrap();let _current_build:Build = client.get().unwrap();}
Cargo.toml
[dependencies.gw2lib]version ="1.0.0"
use gw2lib::{Client,Requester};use gw2lib::model::{items::Item, misc::build::Build};#[tokio::main]asyncfnmain(){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 endpointshere
Please contribute any endpoints that you define additionally!
Missing endpoints are easy to add!Here is an example
Licensed under either ofApache License, Version2.0 orMIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in gw2lib by you, as defined in the Apache-2.0 license, shall bedual licensed as above, without any additional terms or conditions.
About
Extensible Gw2 API wrapper library for Rust
Topics
Resources
License
Apache-2.0, MIT licenses found
Licenses found
Apache-2.0
LICENSE-APACHEMIT
LICENSE-MIT