twisted
Version:
Fetching riot games api data
18 lines (17 loc) • 772 B
TypeScript
import { Regions } from '../../../constants';
import { ThirdPartyCodeDTO } from '../../../models-dto/third-party-code/third-party-code.dto';
import { ApiResponseDTO } from '../../../models-dto/api-response/api-response';
import { BaseApiLol } from '../base/base.api.lol';
/**
* Third party methods
*/
export declare class ThirdPartyCode extends BaseApiLol {
private errorHandler;
/**
* NOTE: The third-party-code-v4 endpoint was sunset on March 11th, 2024 and is no longer available.
* Valid codes must be no longer than 256 characters and only use valid characters: 0-9, a-z, A-Z, and -
* @param encryptedSummonerId
* @param region
*/
get(encryptedSummonerId: string, region: Regions): Promise<ApiResponseDTO<ThirdPartyCodeDTO>>;
}