diff --git a/sdk%2Fjs%2Fplayer%2Fquery.md b/sdk%2Fjs%2Fplayer%2Fquery.md index 856a3ad..7a90501 100644 --- a/sdk%2Fjs%2Fplayer%2Fquery.md +++ b/sdk%2Fjs%2Fplayer%2Fquery.md @@ -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}!`); ``` \ No newline at end of file