playerdb-rs/README.md

388 B

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);