Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attack ¶
type Attack struct { AttackerTag *string `json:"attackerTag,omitempty"` DefenderTag *string `json:"defenderTag,omitempty"` Stars *int64 `json:"stars,omitempty"` DestructionPercentage *int64 `json:"destructionPercentage,omitempty"` Order *int64 `json:"order,omitempty"` Duration *int64 `json:"duration,omitempty"` }
type ChatLanguage ¶
type Clan ¶
type Clan struct { BadgeUrls BadgeUrls `json:"badgeUrls"` ChatLanguage ChatLanguage `json:"chatLanguage,omitempty"` ClanLevel int64 `json:"clanLevel"` ClanPoints int64 `json:"clanPoints"` ClanVersusPoints int64 `json:"clanVersusPoints"` Description string `json:"description"` IsWarLogPublic bool `json:"isWarLogPublic"` Location Location `json:"location"` MemberList []ClanMember `json:"memberList"` Members int64 `json:"members"` Name string `json:"name"` RequiredTrophies int64 `json:"requiredTrophies"` RequiredVersusTrophies int64 `json:"requiredVersusTrophies,omitempty"` RequiredTownhallLevel int64 `json:"requiredTownhallLevel,omitempty"` Tag string `json:"tag"` Type string `json:"type"` WarFrequency string `json:"warFrequency"` WarLosses int64 `json:"warLosses"` WarTies int64 `json:"warTies"` WarWinStreak int64 `json:"warWinStreak"` WarWins int64 `json:"warWins"` WarLeague WarLeague `json:"warLeague,omitempty"` Labels []Label `json:"labels,omitempty"` }
type ClanList ¶
type ClanList struct { Clans []Clan `json:"items,omitempty"` Paging struct { Cursors struct { } `json:"cursors,omitempty"` } `json:"paging,omitempty"` }
type ClanMember ¶
type ClanMember struct { Tag string `json:"tag,omitempty"` Name string `json:"name,omitempty"` Role Role `json:"role,omitempty"` ExpLevel int64 `json:"expLevel,omitempty"` League struct { ID int64 `json:"id,omitempty"` Name string `json:"name,omitempty"` IconUrls struct { Small *string `json:"small,omitempty"` Tiny *string `json:"tiny,omitempty"` Medium *string `json:"medium,omitempty"` } `json:"iconUrls,omitempty"` } `json:"league,omitempty"` Trophies int64 `json:"trophies,omitempty"` VersusTrophies int64 `json:"versusTrophies,omitempty"` ClanRank int64 `json:"clanRank,omitempty"` PreviousClanRank int64 `json:"previousClanRank,omitempty"` Donations int64 `json:"donations,omitempty"` DonationsReceived int64 `json:"donationsReceived,omitempty"` }
type CurrentWar ¶
type CurrentWar struct { State string `json:"state,omitempty"` TeamSize int64 `json:"teamSize,omitempty"` PreparationStartTime string `json:"preparationStartTime,omitempty"` StartTime string `json:"startTime,omitempty"` EndTime string `json:"endTime,omitempty"` Clan WarClan `json:"clan,omitempty"` Opponent WarClan `json:"opponent,omitempty"` }
type MemberList ¶
type MemberList struct { Members []ClanMember `json:"items,omitempty"` Paging struct { Cursors struct { } `json:"cursors,omitempty"` } `json:"paging,omitempty"` }
type WarClan ¶
type WarClan struct { Tag string `json:"tag,omitempty"` Name string `json:"name,omitempty"` BadgeUrls BadgeUrls `json:"badgeUrls,omitempty"` ClanLevel int64 `json:"clanLevel,omitempty"` Attacks int64 `json:"attacks,omitempty"` Stars int64 `json:"stars,omitempty"` DestructionPercentage float64 `json:"destructionPercentage,omitempty"` Members []WarMember `json:"members,omitempty"` }
type WarLog ¶
type WarLog struct { Wars []War `json:"items,omitempty"` Paging struct { Cursors struct { } `json:"cursors,omitempty"` } `json:"paging,omitempty"` }
type WarMember ¶
type WarMember struct { Tag string `json:"tag,omitempty"` Name string `json:"name,omitempty"` TownhallLevel int64 `json:"townhallLevel,omitempty"` MapPosition int64 `json:"mapPosition,omitempty"` OpponentAttacks int64 `json:"opponentAttacks,omitempty"` BestOpponentAttack Attack `json:"bestOpponentAttack,omitempty"` Attacks []Attack `json:"attacks,omitempty"` }
Click to show internal directories.
Click to hide internal directories.