Update sdk/js/player/query
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}!`);
|
||||
```
|
Loading…
Reference in New Issue
Block a user