Currently, this method only returns the first page (205) of summoners. We can address this by using the RequestOptions param to pass a page number along with the request.
|
if err := l.c.GetInto(fmt.Sprintf(endpointGetLeagues, queue, tier, division), &leagues); err != nil { |
For reference, the riot endpoint looks like this.
https://na1.api.riotgames.com/lol/league/v4/entries/RANKED_SOLO_5x5/GOLD/I?page=180
Currently, this method only returns the first page (205) of summoners. We can address this by using the RequestOptions param to pass a page number along with the request.
golio/riot/lol/league.go
Line 75 in 290fb7b
For reference, the riot endpoint looks like this.
https://na1.api.riotgames.com/lol/league/v4/entries/RANKED_SOLO_5x5/GOLD/I?page=180