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