Documentation ¶
Index ¶
- type Profile
- type R6API
- func (a *R6API) GetMetadata() (m *metadata.Metadata, err error)
- func (a *R6API) GetRankedHistory(profile *Profile, numSeasons uint8) (ranked.SkillHistory, error)
- func (a *R6API) GetStats(profile *Profile, season string, dst stats.Provider) error
- func (a *R6API) ResolveUser(username string) (*Profile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type R6API ¶ added in v0.1.0
type R6API struct {
// contains filtered or unexported fields
}
func NewR6API ¶ added in v0.1.0
NewR6API creates a new instance with the provided login credentials and logger.
func (*R6API) GetMetadata ¶ added in v0.1.0
GetMetadata retrieves information about seasons, i.e. season slug or MMR bounds. This is an expensive operation as it performs Javascript evaluations.
func (*R6API) GetRankedHistory ¶ added in v0.1.0
GetRankedHistory returns a list of stats for the last numSeasons past ranked seasons. The resulting list will be ordered historically, i.e. the most-recent season last.
Click to show internal directories.
Click to hide internal directories.