Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UbiSkillURLTemplate = template.Must(template.New("skillURL").Parse( fmt.Sprintf( "https://public-ubiservices.ubi.com/v1/spaces/5172a557-50b5-4665-b7db-e3f2e8c5041d/sandboxes/OSBOR_PC_LNCH_A/r6karma/player_skill_records?board_ids=%s&season_ids={{.SeasonIDs}}®ion_ids=%s&profile_ids={{.ProfileID}}", ubiBoardIDParam, ubiRegionIDParam, ), ))
Functions ¶
This section is empty.
Types ¶
type SeasonStats ¶
type SeasonStats struct {
SeasonID int
Abandons int
Deaths int
Kills int
LastMMRChange int
LastResult int
LastSkillMeanChange float64
LastSkillStdevChange float64
Losses int
MaxRank int
MaxMMR int
MMR int
NextRankMMR int
PreviousRankMMR int
Rank int
SkillMean float64
SkillStdev float64
TopRankPosition int
UpdateTime time.Time
Wins int
}
func NewSeasonStats ¶
func NewSeasonStats(v ubiPlayerSkillJSON) SeasonStats
type SkillHistory ¶
type SkillHistory []SeasonStats
func GetSkillHistory ¶
func GetSkillHistory(v *UbiSkillRecordsJSON) (SkillHistory, error)
type UbiSkillRecordsJSON ¶
type UbiSkillRecordsJSON struct {
SkillRecords []ubiSeasonSkillJSON `json:"seasons_player_skill_records"`
}
type UbiSkillURLParams ¶
func (UbiSkillURLParams) SeasonIDs ¶
func (p UbiSkillURLParams) SeasonIDs() string
Click to show internal directories.
Click to hide internal directories.