Versions in this module Expand all Collapse all v1 v1.0.1 Jan 14, 2024 v1.0.0 Jan 14, 2024 Changes in this version + const PlatformConsole + const PlatformPC + var ErrInvalidPlatform = errors.New("Invalid platform") + var ErrPlayerNotFound = errors.New("Player not found! No Players Found!") + type CareerStats struct + Assists map[string]interface{} + Average map[string]interface{} + Best map[string]interface{} + Combat map[string]interface{} + Deaths map[string]interface{} + Game map[string]interface{} + HeroSpecific map[string]interface{} + MatchAwards map[string]interface{} + type CompetitiveStatsCollection struct + Season *int + type Keywords []string + func (s Keywords) Len() int + func (s Keywords) Less(i, j int) bool + func (s Keywords) Swap(i, j int) + type Platform struct + Active bool + Name string + ProfileView *goquery.Selection + RankWrapper *goquery.Selection + type Player struct + BattleTag string + Frame string + IsPublic bool + Portrait string + type PlayerStats struct + CompetitiveStats CompetitiveStatsCollection + Endorsement int + EndorsementIcon string + GamesLost int + GamesPlayed int + GamesWon int + Icon string + Name string + Private bool + QuickPlayStats QuickPlayStatsCollection + Ratings []Rating + Title string + func Stats(platformKey, tag string) (*PlayerStats, error) + type PlayerStatsProfile struct + Endorsement int + EndorsementIcon string + Icon string + Name string + Private bool + Ratings []Rating + Title string + func ProfileStats(platformKey, tag string) (*PlayerStatsProfile, error) + type QuickPlayStatsCollection struct + type Rating struct + Group string + RankIcon string + Role string + RoleIcon string + Tier int + type StatsCollection struct + CareerStats map[string]*CareerStats + TopHeroes map[string]*TopHeroStats + type TopHeroStats struct + CriticalHitAccuracy int + EliminationsPerLife float64 + GamesWon int + MultiKillBest int + ObjectiveKills float64 + TimePlayed string + WeaponAccuracy int