1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![warn(clippy::all)]
//! gw2api is a fairly simple wrapper over the Guild Wars 2 API.
//!
//! ```
//! 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());
//! ```
//!

extern crate ureq;
extern crate serde;
#[macro_use] extern crate serde_derive;

// Client
pub mod client;
pub mod error;
pub mod utils;

// Object and enum definitions
pub mod attributes;

// Endpoints
pub mod v1;
pub mod v2;