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