[](https://docs.rs/arnak)
[](https://crates.io/crates/arnak)
[](https://docs.rs/arnak)
[](https://opensource.org/licenses/MIT)
[](https://github.com/rust-secure-code/safety-dance)
# Arnak
Rust library for [BoardGameGeek XML API](https://boardgamegeek.com/wiki/page/BGG_XML_API2) bindings.
## Usage
```rust
use arnak::BoardGameGeekApi;
// Enter tokio async runtime.
let rt = tokio::runtime::Runtime::new().unwrap();
rt.block_on(async {
let api = BoardGameGeekApi::new();
let collection = api.collection().get_owned("bluebearbgg").await;
match collection {
Ok(collection) => println!("bluebearbgg owns {} games.", collection.items.len()),
Err(e) => println!("Error: {e}"),
}
})
```