Update sdk/js/player/query

Braydon 2024-04-15 12:50:47 -07:00
parent a7f5877e43
commit 88cb6f7eae

@ -2,8 +2,11 @@
## Example ## Example
```ts ```ts
import { getPlayer } from "restfulmc-lib"; import {
import type { CachedPlayer, RestfulMCAPIError } from "restfulmc-lib/dist/index"; getPlayer,
type CachedPlayer,
type RestfulMCAPIError,
} from "restfulmc-lib";
try { try {
const player: CachedPlayer = await getPlayer("Rainnny"); const player: CachedPlayer = await getPlayer("Rainnny");