import qs from 'qs' ; import Controller from '../Controller' ; import { LeaderboardDto } from '../../types/valorant/VAL-RANKED-V1' ; export class RankedV1 extends Controller { description remark returns A promise containing the VAL-RANKED-V1 API Response: ` LeaderboardDto `
     *
     *  https getLeaderboardsByAct ( actId , size ? , startIndex ? ) { let url = `/val/ranked/v1/leaderboards/by-act/${ actId }` ; if ( size !== undefined || startIndex !== undefined ) { url += '?' + qs . stringify ( { size , startIndex , } ) ; } return this . request . get ( url ) ; } }