Wynd 88816705fb | ||
---|---|---|
examples | ||
src | ||
.editorconfig | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml |
README.md
playerdb-rs
playerdb client with support for async/sync.
Examples
Async (using Tokio)
let api = playerdb_rs::PlayerDBApi::default();
let result = api.get_minecraft_player("notch").await;
dbg!(result);
Sync
let api = playerdb_rs::sync::PlayerDBApi::default();
let result = api.get_minecraft_player("notch");
dbg!(result);