Update sdk/js/player/query

Braydon 2024-04-14 15:06:24 -07:00
parent 6c4beeabcf
commit 190a36d9ad

@ -2,5 +2,9 @@
## Example
```ts
// TODO
import { CachedPlayer } from "restfulmc-lib";
import { getPlayer } from "restfulmc-lib";
const player: CachedPlayer = await getPlayer("Username or UUID");
console.log(`Hello ${player.username}, your UUID is ${player.uniqueId}!`);
```