Skip to content

@valoranchi/riot-client / raw / ValorantApi

Class: ValorantApi ​

Defined in: src/catalogue/ValorantApi.ts:65

Constructors ​

Constructor ​

new ValorantApi(gateway, cache?, store?): ValorantApi

Defined in: src/catalogue/ValorantApi.ts:70

Parameters ​

gateway ​

HttpGateway

cache? ​

MemoryCatalogueCache = GLOBAL_CACHE

store? ​

FileCatalogueStore | null

Returns ​

ValorantApi

Methods ​

getCatalogue() ​

getCatalogue(language?): Promise<Catalogue>

Defined in: src/catalogue/ValorantApi.ts:94

Parameters ​

language? ​

string = "en-US"

Returns ​

Promise<Catalogue>


getClientVersion() ​

getClientVersion(): Promise<string>

Defined in: src/catalogue/ValorantApi.ts:80

Returns ​

Promise<string>

Not affiliated with Riot Games