Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArenaRating ¶
type ArenaRating struct {
Brackets Brackets
}
type ArenaStats ¶
type Brackets ¶
type Brackets struct { TwoPlayers ArenaStats `json:"ARENA_BRACKET_2v2"` ThreePlayers ArenaStats `json:"ARENA_BRACKET_3v3"` RBG ArenaStats `json:"ARENA_BRACKET_RBG"` }
type CharacterProfile ¶
type CharacterProfile struct { Name string Realm string Region string Class int Level int Thumbnail string Guild Guild Items Items Talents []SpecTalents ArenaRating ArenaRating `json:"pvp"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCharacterProfile ¶
func (c *Client) GetCharacterProfile(region, realm, name string) (*CharacterProfile, error)
GetCharacterProfile retrieves character profile from Battle.Net API by character name and realm If not found, then error is thrown
type Enchantments ¶
type Item ¶
type Item struct { ID int Name string ItemLevel int Icon string Enchantments Enchantments `json:"tooltipParams"` }
type SpecTalents ¶
Click to show internal directories.
Click to hide internal directories.