boardgamegeek 1.0.1

A non-comprehensive client to the BoardGameGeek website and API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub type Result<T> = std::result::Result<T, Error>;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("received bad status code from BGG")]
    RequestFailed(u16),
    #[error("received bad response from BGG")]
    BadResponse,
    #[error("received invalid XML from BGG")]
    InvalidXML,
    #[error("could not connect to BGG")]
    ConnectionFailed,
    #[error("too many requests")]
    TooManyRequests,
}