import StaticChampionEndpoint from 'kayn/lib/Endpoints/StaticEndpoints/StaticChampionEndpoint.js'
StaticChampionEndpoint
Extends:
Endpoint~Endpoint → StaticSuperclass → StaticChampionEndpoint
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
Retrieves champion by ID. |
|
public |
list(): * Retrieves champion list. |
Inherited Summary
From class StaticSuperclass | ||
public |
|
Public Constructors
Public Methods
public get(championID: number): * source
Retrieves champion by ID.
Implements GET /lol/static-data/v3/champions/{id}
.
Params:
Name | Type | Attribute | Description |
championID | number | The id of the champion. |
Return:
* |
public list(): * source
Retrieves champion list.
Implements GET /lol/static-data/v3/champions
.
Return:
* |