-
Notifications
You must be signed in to change notification settings - Fork 5
/
defaultConfig.json
153 lines (153 loc) · 5.75 KB
/
defaultConfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"prefix": "https://%s.api.riotgames.com",
"retries": 3,
"maxConcurrent": 2000,
"timeout": 10000,
"distFactor": 1,
"defaultBuckets": [
{
"timespan": 1000,
"limit": 1,
"factor": 1,
"spread": 0
}
],
"rateLimitTypeApplication": {
"name": "application",
"headerLimit": "x-app-rate-limit",
"headerCount": "x-app-rate-limit-count"
},
"rateLimitTypeMethod": {
"name": "method",
"headerLimit": "x-method-rate-limit",
"headerCount": "x-method-rate-limit-count"
},
"defaultRetryAfter": null,
"headerRetryAfter": "retry-after",
"headerLimitType": "x-rate-limit-type",
"defaultLimitType": null,
"keyHeader": "X-Riot-Token",
"keyQueryParam": null,
"collapseQueryArrays": false,
"endpoints": {
"account": {
"getByPuuid": "/riot/account/v1/accounts/by-puuid/%s",
"getByRiotId": "/riot/account/v1/accounts/by-riot-id/%s/%s",
"getByAccessToken": "/riot/account/v1/accounts/me",
"getActiveShard": "/riot/account/v1/active-shards/by-game/%s/by-puuid/%s"
},
"championMastery": {
"getAllChampionMasteriesByPUUID": "/lol/champion-mastery/v4/champion-masteries/by-puuid/%s",
"getChampionMasteryByPUUID": "/lol/champion-mastery/v4/champion-masteries/by-puuid/%s/by-champion/%s",
"getTopChampionMasteriesByPUUID": "/lol/champion-mastery/v4/champion-masteries/by-puuid/%s/top",
"getChampionMasteryScoreByPUUID": "/lol/champion-mastery/v4/scores/by-puuid/%s"
},
"champion": {
"getChampionInfo": "/lol/platform/v3/champion-rotations"
},
"clash": {
"getPlayersBySummoner": "/lol/clash/v1/players/by-summoner/%s",
"getTeamById": "/lol/clash/v1/teams/%s",
"getTournaments": "/lol/clash/v1/tournaments",
"getTournamentByTeam": "/lol/clash/v1/tournaments/by-team/%s",
"getTournamentById": "/lol/clash/v1/tournaments/%s"
},
"leagueExp": {
"getLeagueEntries": "/lol/league-exp/v4/entries/%s/%s/%s"
},
"league": {
"getChallengerLeague": "/lol/league/v4/challengerleagues/by-queue/%s",
"getLeagueEntriesForSummoner": "/lol/league/v4/entries/by-summoner/%s",
"getLeagueEntries": "/lol/league/v4/entries/%s/%s/%s",
"getGrandmasterLeague": "/lol/league/v4/grandmasterleagues/by-queue/%s",
"getLeagueById": "/lol/league/v4/leagues/%s",
"getMasterLeague": "/lol/league/v4/masterleagues/by-queue/%s"
},
"lolChallenges": {
"getAllChallengeConfigs": "/lol/challenges/v1/challenges/config",
"getAllChallengePercentiles": "/lol/challenges/v1/challenges/percentiles",
"getChallengeConfigs": "/lol/challenges/v1/challenges/%s/config",
"getChallengeLeaderboards": "/lol/challenges/v1/challenges/%s/leaderboards/by-level/%s",
"getChallengePercentiles": "/lol/challenges/v1/challenges/%s/percentiles",
"getPlayerData": "/lol/challenges/v1/player-data/%s"
},
"lolStatus": {
"getPlatformData": "/lol/status/v4/platform-data"
},
"lorDeck": {
"getDecks": "/lor/deck/v1/decks/me",
"createDeck": "/lor/deck/v1/decks/me"
},
"lorInventory": {
"getCards": "/lor/inventory/v1/cards/me"
},
"lorMatch": {
"getMatchIdsByPUUID": "/lor/match/v1/matches/by-puuid/%s/ids",
"getMatch": "/lor/match/v1/matches/%s"
},
"lorRanked": {
"getLeaderboards": "/lor/ranked/v1/leaderboards"
},
"lorStatus": {
"getPlatformData": "/lor/status/v1/platform-data"
},
"match": {
"getMatchIdsByPUUID": "/lol/match/v5/matches/by-puuid/%s/ids",
"getMatch": "/lol/match/v5/matches/%s",
"getTimeline": "/lol/match/v5/matches/%s/timeline"
},
"spectatorTft": {
"getCurrentGameInfoByPuuid": "/lol/spectator/tft/v5/active-games/by-puuid/%s",
"getFeaturedGames": "/lol/spectator/tft/v5/featured-games"
},
"spectator": {
"getCurrentGameInfoByPuuid": "/lol/spectator/v5/active-games/by-summoner/%s",
"getFeaturedGames": "/lol/spectator/v5/featured-games"
},
"summoner": {
"getByRSOPUUID": "/fulfillment/v1/summoners/by-puuid/%s",
"getByAccountId": "/lol/summoner/v4/summoners/by-account/%s",
"getBySummonerName": "/lol/summoner/v4/summoners/by-name/%s",
"getByPUUID": "/lol/summoner/v4/summoners/by-puuid/%s",
"getByAccessToken": "/lol/summoner/v4/summoners/me",
"getBySummonerId": "/lol/summoner/v4/summoners/%s"
},
"tftLeague": {
"getChallengerLeague": "/tft/league/v1/challenger",
"getLeagueEntriesForSummoner": "/tft/league/v1/entries/by-summoner/%s",
"getLeagueEntries": "/tft/league/v1/entries/%s/%s",
"getGrandmasterLeague": "/tft/league/v1/grandmaster",
"getLeagueById": "/tft/league/v1/leagues/%s",
"getMasterLeague": "/tft/league/v1/master",
"getTopRatedLadder": "/tft/league/v1/rated-ladders/%s/top"
},
"tftMatch": {
"getMatchIdsByPUUID": "/tft/match/v1/matches/by-puuid/%s/ids",
"getMatch": "/tft/match/v1/matches/%s"
},
"tftStatus": {
"getPlatformData": "/tft/status/v1/platform-data"
},
"tftSummoner": {
"getByAccountId": "/tft/summoner/v1/summoners/by-account/%s",
"getBySummonerName": "/tft/summoner/v1/summoners/by-name/%s",
"getByPUUID": "/tft/summoner/v1/summoners/by-puuid/%s",
"getByAccessToken": "/tft/summoner/v1/summoners/me",
"getBySummonerId": "/tft/summoner/v1/summoners/%s"
},
"valContent": {
"getContent": "/val/content/v1/contents"
},
"valMatch": {
"getMatch": "/val/match/v1/matches/%s",
"getMatchlist": "/val/match/v1/matchlists/by-puuid/%s",
"getRecent": "/val/match/v1/recent-matches/by-queue/%s"
},
"valRanked": {
"getLeaderboard": "/val/ranked/v1/leaderboards/by-act/%s"
},
"valStatus": {
"getPlatformData": "/val/status/v1/platform-data"
}
}
}