Library referenceClasses
PublicLegacyApi
api.krunker.io, the old rest api; only the paths the page calls without a token
Constructors
Constructor
new PublicLegacyApi(client): PublicLegacyApi;Parameters
| Parameter | Type |
|---|---|
client | KrunkerClient |
Returns
PublicLegacyApi
Methods
itemPrices()
itemPrices(): Promise<ItemPrices>;GET /webhooks/general/items/prices, the kr value per skin index the inventory shows (38 KB)
Returns
Promise<ItemPrices>
mapsList()
mapsList(query?): Promise<LegacyMapList>;GET /webhooks/general/maps/list, the community map browser; index is the category tab, pos the page
Parameters
| Parameter | Type |
|---|---|
query? | BrowserQuery |
Returns
Promise<LegacyMapList>
modsList()
modsList(query?): Promise<LegacyModList>;GET /webhooks/general/mods/list, the mod browser
Parameters
| Parameter | Type |
|---|---|
query? | BrowserQuery |
Returns
Promise<LegacyModList>
topStreams()
topStreams(): Promise<TopStreams>;GET /streams/top, the menu's stream box plus the running drop campaigns
Returns
Promise<TopStreams>