Crates.io | gw2api |
lib.rs | gw2api |
version | 0.2.0 |
source | src |
created_at | 2020-06-08 03:52:10.880435 |
updated_at | 2020-06-08 03:52:10.880435 |
description | A sort-of well-documented and WIP wrapper over the Guild Wars 2 API |
homepage | |
repository | https://github.com/CuriouslyCurious/gw2api |
max_upload_size | |
id | 251203 |
size | 226,726 |
gw2api
is a WIP wrapper over the official Guild Wars 2 API written in Rust using
ureq as the underlying request maker.
use gw2api::client::Client;
use gw2api::v1::build::Build;
let client = Client::new();
let build = Build::get_build(&client).unwrap();
println!("Current build id: {}", build.id());
Q: Y u do dis?!
A: There simply didn't exist a fully functional API wrapper for the API, which I needed. It's also a good learning experience in how to write wrappers, planning out project structure and implementing tests. All in all; yay, I spent way too much time on this. (╥_╥)