SOTATER / back-end

3 stars 0 forks source link

GET Weekly WinRate #44

Open qlyh8 opened 1 year ago

qlyh8 commented 1 year ago

GET /api/matches/statistics/weekly-win-rate/by-puuid/${puuid}

Request Parameter (query) parameter type required description
puuid string true 소환사 puuid
Response field type description
championWinRates ChampionWinRate[] 최근 7일간 랭크 승률 배열
export type ChampionWinRate = {
    championName: string;
    losses: number;
    wins: number;
};
qlyh8 commented 1 year ago

ChampionWinRate response 타입에서 championId에서 championName 으로 변경하였습니다.