krapio
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

ParameterType
clientKrunkerClient

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

ParameterType
query?BrowserQuery

Returns

Promise<LegacyMapList>


modsList()

modsList(query?): Promise<LegacyModList>;

GET /webhooks/general/mods/list, the mod browser

Parameters

ParameterType
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>

On this page