Update sdk/js/player/query

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

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