Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOLBaseURLFormat = "https://%s.api.riotgames.com/lol/platform%s" ChampionEndpointURL = "/v3/champion-rotations" )
League of Legends endpoints
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChampionEndpoint ¶
type ChampionEndpoint struct {
// contains filtered or unexported fields
}
func (*ChampionEndpoint) FreeRotation ¶
func (c *ChampionEndpoint) FreeRotation(region api.Region) (*FreeChampionsRotation, error)
Get Free Champions Rotation
type FreeChampionsRotation ¶
type LOLClient ¶
type LOLClient struct {
Champion *ChampionEndpoint
// contains filtered or unexported fields
}
func NewLOLClient ¶
func NewLOLClient(client *internal.InternalClient) *LOLClient
Creates a new LOLClient using a InternalClient
Click to show internal directories.
Click to hide internal directories.