lol-api-js
Version:
Integration package LoL Riot API and your typescript/javascript
30 lines • 898 B
TypeScript
import API from ".";
import { Metadata, Info } from "./matchInterfaces";
export default class Match extends API {
metadata: Metadata;
info: Info;
constructor(api_key: string, dataPath: string, metadata: Metadata, info: Info);
/**
* Returns an Array of strings containing the paths to champions .jpg.
*
* @remarks
* This method is part of lol-api-js package from the Match class
*
* @returns an Array of strings with champion images paths
*
* @example
* const match = new Match();
* match.getMatch(puuid);
* const arrayOfPathImgs = match.getChampionsIcons();
*/
getChampionsIcons: () => string[];
}
export interface jsonMatch {
metadata: {
dataVersion: string;
participants: string[];
matchId: string;
};
info: Info;
}
//# sourceMappingURL=match.d.ts.map