Documentation ¶
Index ¶
- Constants
- type AbilityDescription
- type AbilityDescriptionValueItem
- type AbilityItemDescription
- type BountyItem
- type Champion
- type ChampionAbility
- type ChampionCard
- type ChampionLeaderboardEntry
- type ChampionRank
- type ChampionSkin
- type DataUsed
- type ESportsProLeagueDetail
- type Friend
- type God
- type GodAbility
- type GodAltAbility
- type GodBasicAttack
- type GodLeaderboardEntry
- type GodRank
- type GodRecommendedItem
- type GodSkin
- type HiRezServerStatus
- type Item
- type ItemDescription
- type ItemDescriptionValueItem
- type LeagueLeaderboardEntry
- type LiveMatchPlayer
- type LoadoutItem
- type MOTD
- type Match
- type MatchPlayer
- type MergedPlayer
- type Player
- type PlayerAchievements
- type PlayerGodQueueStat
- type PlayerIDInfo
- type PlayerIDInfoForXBOXAndSwitch
- type PlayerIDValue
- type PlayerLoadout
- type PlayerRankedInfo
- type PlayerStatus
- type Season
- type Session
- type TeamDetail
- type TeamPlayer
- type TopMatch
- type VersionInfo
Constants ¶
const ( // URLSmitePC is the base URL for making Smite requests URLSmitePC string = "https://api.smitegame.com/smiteapi.svc" // URLPaladinsPC is the base URL for making Paladins requests URLPaladinsPC string = "https://api.paladins.com/paladinsapi.svc" // ResponseTypeJSON is the json response type ResponseTypeJSON string = "json" // ResponseTypeXML is the xml response type ResponseTypeXML string = "xml" // DateFormat yyyyMMdd DateFormat string = "20060102" // TimeFormat yyyyMMddHHmmss TimeFormat string = "20060102150405" HiRez, Steam, PS4, XBOX, Switch, Discord, Epic string = "1", "5", "9", "10", "22", "25", "28" // nolint English string = "1" // nolint German string = "2" // nolint French string = "3" // nolint Chinese string = "5" // nolint Spanish string = "7" // nolint SpanishLAM string = "9" // nolint Portuguese string = "10" // nolint Russian string = "11" // nolint Polish string = "12" // nolint Turkish string = "13" // nolint Bronze5, Bronze4, Bronze3, Bronze2, Bronze1 string = "1", "2", "3", "4", "5" // nolint Silver5, Silver4, Silver3, Silver2, Silver1 string = "6", "7", "8", "9", "10" // nolint Gold5, Gold4, Gold3, Gold2, Gold1 string = "11", "12", "13", "14", "15" // nolint Platinum5, Platinum4, Platinum3, Platinum2, Platinum1 string = "16", "17", "18", "19", "20" // nolint Diamond5, Diamond4, Diamond3, Diamond2, Diamond1 string = "21", "22", "23", "24", "25" // nolint Masters, Grandmaster string = "26", "27" // nolint Adventures string = "495" // nolint Arena string = "435" // nolint ArenaAIEasy string = "457" // nolint ArenaAIMedium string = "468" // nolint ArenaChallenge string = "438" // nolint ArenaPracticeEasy string = "443" // nolint ArenaPracticeMedium string = "472" // nolint ArenaTraining string = "483" // nolint ArenaTutorial string = "462" // nolint Assault string = "445" // nolint AssaultAIEasy string = "481" // nolint AssaultAIMedium string = "454" // nolint AssaultChallenge string = "446" // nolint AssaultPracticeEasy string = "479" // nolint AssaultPracticeMedium string = "480" // nolint BasicTutorial string = "436" // nolint Clash string = "466" // nolint ClashAIEasy string = "478" // nolint ClashAIMedium string = "469" // nolint ClashChallenge string = "467" // nolint ClashPracticeEasy string = "470" // nolint ClashPracticeMedium string = "477" // nolint ClashTutorial string = "471" // nolint ConqeustChallenge string = "429" // nolint Conquest string = "426" // nolint ConquestAIEasy string = "476" // nolint ConquestAIMedium string = "461" // nolint ConquestPracticeEasy string = "458" // nolint ConquestPracticeMedium string = "475" // nolint ConquestRanked string = "451" // nolint ConquestTutorial string = "463" // nolint Joust string = "448" // nolint Joust1v1Ranked string = "440" // nolint Joust3v3Ranked string = "450" // nolint Joust3v3Training string = "482" // nolint JoustAIEasy string = "474" // nolint JoustAIMedium string = "456" // nolint JoustChallenge string = "441" // nolint JoustPracticeEasy string = "464" // nolint JunglePracicePreselect string = "496" // nolint JunglePracitceMedium string = "473" // nolint JunglePractice string = "444" // nolint MatchOfTheDay string = "434" // nolint Siege string = "459" // nolint SiegeChallenge string = "460" // nolint ClassicSiege string = "465" // nolint CustomOnslaughtForemansRise string = "462" // nolint CustomOnslaughtMagistratesArchives string = "464" // nolint CustomOnslaughtPrimalCourt string = "455" // nolint CustomOnslaughtSnowfallJunction string = "454" // nolint CustomSiegeBrightmarsh string = "458" // nolint CustomSiegeFishMarket string = "431" // nolint CustomSiegeFrogIsle string = "433" // nolint CustomSiegeFrozenGuard string = "432" // nolint CustomSiegeIceMines string = "439" // nolint CustomSiegeJaguarFalls string = "438" // nolint CustomSiegeSerpentBeach string = "440" // nolint CustomSiegeSplitstoneQuarry string = "459" // nolint CustomSiegeStoneKeep string = "423" // nolint CustomSiegeTimberMill string = "430" // nolint CustomTDMForemansRise string = "471" // nolint CustomTDMMagistrateArchives string = "472" // nolint CustomTDMTradeDistrict string = "468" // nolint LiveBattleGroundsDuo string = "475" // nolint LiveBattleGroundsQuad string = "476" // nolint LiveBattlegroundsSolo string = "474" // nolint LiveCasual string = "424" // nolint LiveCompetitive string = "428" // nolint LiveOnslaught string = "452" // nolint LiveOnslaughtPractice string = "453" // nolint LiveSiegePractice string = "425" // nolint LiveTeamDeathmatch string = "469" // nolint LiveTeamDeathmatchPractice string = "470" // nolint LiveTestMaps string = "445" // nolint )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbilityDescription ¶
type AbilityDescription struct { Cooldown string `json:"cooldown"` Cost string `json:"cost"` Description string `json:"description"` MenuItems []AbilityDescriptionValueItem `json:"menuitems"` RankItems []AbilityDescriptionValueItem `json:"rankitems"` }
AbilityDescription stores data related to a God's Ability
type AbilityDescriptionValueItem ¶
type AbilityDescriptionValueItem struct { Description string `json:"description"` Value string `json:"value"` }
AbilityDescriptionValueItem stores data related to the values of a God's Ability
type AbilityItemDescription ¶
type AbilityItemDescription struct {
ItemDescription AbilityDescription `json:"itemDescription"`
}
AbilityItemDescription stores data related to a God's Ability
type BountyItem ¶
type BountyItem struct { Active string `json:"active"` BountyItemID1 int64 `json:"bounty_item_id1"` BountyItemID2 int64 `json:"bounty_item_id2"` BountyItemName string `json:"bounty_item_name"` ChampionID int64 `json:"champion_id"` ChampionName string `json:"champion_name"` FinalPrice string `json:"final_price"` InitialPrice string `json:"initial_price"` RetMsg string `json:"ret_msg"` SaleEndDatetime string `json:"sale_end_datetime"` SaleType string `json:"sale_type"` }
BountyItem stores data related to a Bounty Item in Paladins
type Champion ¶
type Champion struct { Ability1 string `json:"Ability1"` Ability2 string `json:"Ability2"` Ability3 string `json:"Ability3"` Ability4 string `json:"Ability4"` Ability5 string `json:"Ability5"` AbilityID1 int64 `json:"AbilityId1"` AbilityID2 int64 `json:"AbilityId2"` AbilityID3 int64 `json:"AbilityId3"` AbilityID4 int64 `json:"AbilityId4"` AbilityID5 int64 `json:"AbilityId5"` AbilityOne ChampionAbility `json:"Ability_1"` AbilityTwo ChampionAbility `json:"Ability_2"` AbilityThree ChampionAbility `json:"Ability_3"` AbilityFour ChampionAbility `json:"Ability_4"` AbilityFive ChampionAbility `json:"Ability_5"` ChampionAbility1URL string `json:"ChampionAbility1_URL"` ChampionAbility2URL string `json:"ChampionAbility2_URL"` ChampionAbility3URL string `json:"ChampionAbility3_URL"` ChampionAbility4URL string `json:"ChampionAbility4_URL"` ChampionAbility5URL string `json:"ChampionAbility5_URL"` ChampionAbilityCardURL string `json:"ChampionCard_URL"` ChampionAbilityIconURL string `json:"ChampionIcon_URL"` Cons string `json:"Cons"` Health int64 `json:"Health"` Lore string `json:"Lore"` Name string `json:"Name"` NameEnglish string `json:"Name_English"` OnFreeRotation string `json:"OnFreeRotation"` OnFreeWeeklyRotation string `json:"OnFreeWeeklyRotation"` Pantheon string `json:"Pantheon"` Pros string `json:"Pros"` Roles string `json:"Roles"` Speed int64 `json:"Speed"` Title string `json:"Title"` Type string `json:"Type"` AbilityDescription1 string `json:"abilityDescription1"` AbilityDescription2 string `json:"abilityDescription2"` AbilityDescription3 string `json:"abilityDescription3"` AbilityDescription4 string `json:"abilityDescription4"` AbilityDescription5 string `json:"abilityDescription5"` ID int64 `json:"id"` LatestChamption string `json:"latestChampion"` RetMsg string `json:"ret_msg"` }
Champion stores data related to an in game Champion
type ChampionAbility ¶
type ChampionAbility struct { Description string `json:"Description"` ID int64 `json:"Id"` Summary string `json:"Summary"` URL string `json:"URL"` DamageType string `json:"damageType"` RechargeSeconds int64 `json:"rechargeSeconds"` }
ChampionAbility stores data related to a Champion Ability
type ChampionCard ¶
type ChampionCard struct { ActiveFlagActivationSchedule string `json:"active_flag_activation_schedule"` ActiveFlagLTI string `json:"active_flag_lti"` CardDescription string `json:"card_description"` CardID1 int64 `json:"card_id1"` CardID2 int64 `json:"card_id2"` CardName string `json:"card_name"` CardNameEnglish string `json:"card_name_english"` ChampionCardURL string `json:"championCard_URL"` ChampionCardIconURL string `json:"championIcon_URL"` ChampionTalentURL string `json:"championTalent_URL"` ChampionID int64 `json:"champion_id"` ChampionName string `json:"champion_name"` Exclusive string `json:"exclusive"` Rank int64 `json:"rank"` Rarity string `json:"rarity"` RechargeSeconds int64 `json:"recharge_seconds"` RetMsg string `json:"ret_msg"` }
ChampionCard stores data related to a Card for a Champion
type ChampionLeaderboardEntry ¶
type ChampionLeaderboardEntry struct { ChampionID string `json:"champion_id"` Losses string `json:"losses"` PlayerID string `json:"player_id"` PlayerName string `json:"player_name"` PlayerRanking string `json:"player_ranking"` Rank string `json:"rank"` RetMsg string `json:"ret_msg"` Wins string `json:"wins"` }
ChampionLeaderboardEntry stores data related to the Champion Leaderboard
type ChampionRank ¶
type ChampionRank struct { Assists int64 `json:"Assists"` Deaths int64 `json:"Deaths"` Gold int64 `json:"Gold"` Kills int64 `json:"Kills"` LastPlayed string `json:"LastPlayed"` Losses int64 `json:"Losses"` MinionKills int64 `json:"MinionKills"` Minutes int64 `json:"Minutes"` Rank int64 `json:"Rank"` Wins int64 `json:"Wins"` Worshippers int64 `json:"Worshippers"` Champion string `json:"champion"` ChampionID string `json:"champion_id"` PlayerID string `json:"player_id"` RetMsg string `json:"ret_msg"` }
ChampionRank stores data related to player stats for a Champion
type ChampionSkin ¶
type ChampionSkin struct { ChampionID int64 `json:"champion_id"` ChampionName string `json:"champion_name"` Rarity string `json:"rarity"` RetMsg string `json:"ret_msg"` SkinID1 int64 `json:"skin_id1"` SkinID2 int64 `json:"skin_id2"` SkinName string `json:"skin_name"` SkinNameEnglish string `json:"skin_name_english"` }
ChampionSkin stores data related to a Skin for a Champion
type DataUsed ¶
type DataUsed struct { ActiveSessions int `json:"Active_Sessions"` ConcurrentSessions int `json:"Concurrent_Sessions"` RequestDailyLimit int `json:"Request_Limit_Daily"` SessionCap int `json:"Session_Cap"` SessionTimeLimit int `json:"Session_Time_Limit"` TotalRequestsToday int `json:"Total_Requests_Today"` TotalSessionsToday int `json:"Total_Sessions_Today"` RetMsg string `json:"ret_msg"` }
DataUsed stores data related to how many requests and sessions have been used of the daily cap.
type ESportsProLeagueDetail ¶
type ESportsProLeagueDetail struct { AwayTeamClanID int64 `json:"away_team_clan_id"` AwayTeamName string `json:"away_team_name"` AwayTeamTagName string `json:"away_team_tagname"` HomeTeamClanID int64 `json:"home_team_clan_id"` HomeTeamName string `json:"home_team_name"` HomeTeamTagName string `json:"home_team_tagname"` MapInstanceID string `json:"map_instance_id"` MatchDate string `json:"match_date"` MatchNumber string `json:"match_number"` MatchStatus string `json:"match_status"` MatchupID string `json:"matchup_id"` Region string `json:"region"` RetMsg string `json:"ret_msg"` TournamentName string `json:"tournament_name"` WinningTeamClanID int64 `json:"winning_team_clan_id"` }
ESportsProLeagueDetail stores data related to ESports Matches
type Friend ¶
type Friend struct { AccountID string `json:"account_id"` AvatarURL string `json:"avatar_url"` FriendFlags string `json:"friend_flags"` Name string `json:"name"` PlayerID string `json:"player_id"` PortalID string `json:"portal_id"` RetMsg string `json:"ret_msg"` Status string `json:"status"` }
Friend stores data related to a Player's Friend
type God ¶
type God struct { Ability1 string `json:"Ability1"` Ability2 string `json:"Ability2"` Ability3 string `json:"Ability3"` Ability4 string `json:"Ability4"` Ability5 string `json:"Ability5"` AbilityId1 int64 `json:"AbilityId1"` AbilityId2 int64 `json:"AbilityId2"` AbilityId3 int64 `json:"AbilityId3"` AbilityId4 int64 `json:"AbilityId4"` AbilityId5 int64 `json:"AbilityId5"` AbilityOne GodAbility `json:"Ability_1"` AbilityTwo GodAbility `json:"Ability_2"` AbilityThree GodAbility `json:"Ability_3"` AbilityFour GodAbility `json:"Ability_4"` AbilityFive GodAbility `json:"Ability_5"` AttackSpeed float32 `json:"AttackSpeed"` AttackSpeedPerLevel float32 `json:"AttackSpeedPerLevel"` AutoBanned string `json:"AutoBanned"` Cons string `json:"Cons"` HP5PerLevel float32 `json:"HP5PerLevel"` Health int64 `json:"Health"` HealthPerFive int64 `json:"HealthPerFive"` HealthPerLevel int64 `json:"HealthPerLevel"` Lore string `json:"Lore"` MP5PerLevel float32 `json:"MP5PerLevel"` MagicProtection float32 `json:"MagicProtection"` MagicProtectionPerLevel float32 `json:"MagicProtectionPerLevel"` MagicalPower float32 `json:"MagicalPower"` MagicalPowerPerLevel float32 `json:"MagicalPowerPerLevel"` Mana int64 `json:"Mana"` ManaPerFive float32 `json:"ManaPerFive"` ManaPerLevel int64 `json:"ManaPerLevel"` Name string `json:"Name"` OnFreeRotation string `json:"OnFreeRotation"` Pantheon string `json:"Pantheon"` PhysicalPower float32 `json:"PhysicalPower"` PhysicalPowerPerLevel float32 `json:"PhysicalPowerPerLevel"` PhysicalProtection float32 `json:"PhysicalProtection"` PhysicalProtectionPerLevel float32 `json:"PhysicalProtectionPerLevel"` Pros string `json:"Pros"` Roles string `json:"Roles"` Speed int64 `json:"Speed"` Title string `json:"Title"` Type string `json:"Type"` AbilityDescription1 AbilityItemDescription `json:"abilityDescription1"` AbilityDescription2 AbilityItemDescription `json:"abilityDescription2"` AbilityDescription3 AbilityItemDescription `json:"abilityDescription3"` AbilityDescription4 AbilityItemDescription `json:"abilityDescription4"` AbilityDescription5 AbilityItemDescription `json:"abilityDescription5"` BasicAttack GodBasicAttack `json:"basicAttack"` GodAbility1URL string `json:"godAbility1_URL"` GodAbility2URL string `json:"godAbility2_URL"` GodAbility3URL string `json:"godAbility3_URL"` GodAbility4URL string `json:"godAbility4_URL"` GodAbility5URL string `json:"godAbility5_URL"` GodCardURL string `json:"godCard_URL"` GodIconURL string `json:"godIcon_URL"` ID int64 `json:"id"` LatestGod string `json:"latestGod"` RetMsg string `json:"ret_msg"` }
God stores data related to an in game God
type GodAbility ¶
type GodAbility struct { Description AbilityItemDescription `json:"Description"` ID int64 `json:"Id"` Summary string `json:"Summary"` URL string `json:"URL"` }
GodAbility stores data related to a God Ability
type GodAltAbility ¶ added in v0.0.6
type GodAltAbility struct { AltName string `json:"alt_name"` AltPosition string `json:"alt_position"` God string `json:"God"` GodID int64 `json:"god_id"` ItemID int64 `json:"item_id"` RetMsg string `json:"ret_msg"` }
GodAltAbility stores data related to a God's Alternate Ability
type GodBasicAttack ¶
type GodBasicAttack struct {
ItemDescription AbilityItemDescription `json:"itemDescription"`
}
GodBasicAttack stores data related to a God's Basic Attack Ability
type GodLeaderboardEntry ¶
type GodLeaderboardEntry struct { GodID string `json:"god_id"` Losses string `json:"losses"` PlayerID string `json:"player_id"` PlayerName string `json:"player_name"` PlayerRanking string `json:"player_ranking"` Rank string `json:"rank"` RetMsg string `json:"ret_msg"` Wins string `json:"wins"` }
GodLeaderboardEntry stores data related to the God Leaderboard
type GodRank ¶
type GodRank struct { Assists int64 `json:"Assists"` Deaths int64 `json:"Deaths"` Kills int64 `json:"Kills"` Losses int64 `json:"Losses"` MinionKills int64 `json:"MinionKills"` Rank int `json:"Rank"` Wins int64 `json:"Wins"` Worshippers int64 `json:"Worshippers"` God string `json:"god"` GodID string `json:"god_id"` PlayerID string `json:"player_id"` RetMsg string `json:"ret_msg"` }
GodRank stores data related to a Player's Rank for a God
type GodRecommendedItem ¶
type GodRecommendedItem struct { Category string `json:"Category"` Item string `json:"Item"` Role string `json:"Role"` CategoryValueID int64 `json:"category_value_id"` GodID int64 `json:"god_id"` GodName string `json:"god_name"` IconID int64 `json:"icon_id"` ItemID int64 `json:"item_id"` RetMsg string `json:"ret_msg"` RoleValueID int64 `json:"role_value_id"` }
GodRecommendedItem stores data related to a Recommended Item to build for a God
type GodSkin ¶
type GodSkin struct { GodIconURL string `json:"godIcon_URL"` GodSkinURL string `json:"godSkin_URL"` GodID int64 `json:"god_id"` GodName string `json:"god_name"` Obtainability string `json:"obtainability"` PriceFavor int64 `json:"price_favor"` PriceGems int64 `json:"price_gems"` RetMsg string `json:"ret_msg"` SkinID1 int64 `json:"skin_id1"` SkinID2 int64 `json:"skin_id2"` SkinName string `json:"skin_name"` }
GodSkin stores data related to a Skin for a God
type HiRezServerStatus ¶
type HiRezServerStatus struct { EntryDatetime string `json:"entry_datetime"` Environment string `json:"environment"` LimitedAccess bool `json:"limited_access"` Platform string `json:"platform"` RetMsg string `json:"ret_msg"` Status string `json:"status"` Version string `json:"version"` }
HiRezServerStatus stores data related to a HiRez Service's current status.
type Item ¶
type Item struct { ActiveFlag string `json:"ActiveFlag"` ChildItemID int64 `json:"ChildItemId"` DeviceName string `json:"DeviceName"` IconID int64 `json:"IconId"` ItemDescription ItemDescription `json:"ItemDescription"` ItemID int64 `json:"ItemId"` ItemTier int `json:"ItemTier"` Price int64 `json:"Price"` RestrictedRoles string `json:"RestrictedRoles"` RootItemID int64 `json:"RootItemId"` ShortDesc string `json:"ShortDesc"` StartingItem bool `json:"StartingItem"` Type string `json:"Type"` ItemIconURL string `json:"itemIcon_URL"` RetMsg string `json:"ret_msg"` }
Item stores data related to an in game Item
type ItemDescription ¶
type ItemDescription struct { Description string `json:"Description"` MenuItems []ItemDescriptionValueItem `json:"Menuitems"` SecondaryDescription string `json:"SecondaryDescription"` }
ItemDescription stores data related to an Item's Description
type ItemDescriptionValueItem ¶
type ItemDescriptionValueItem struct { Description string `json:"Description"` Value string `json:"value"` }
ItemDescriptionValueItem stores data related to the Value of an Item stat
type LeagueLeaderboardEntry ¶
type LeagueLeaderboardEntry struct { Leaves int64 `json:"Leaves"` Losses int64 `json:"Losses"` Name string `json:"Name"` Points int64 `json:"Points"` PrevRank int64 `json:"PrevRank"` Rank int64 `json:"Rank"` RankStat int64 `json:"Rank_Stat"` RankVariance int64 `json:"Rank_Variance"` Season int64 `json:"Season"` Tier int64 `json:"Tier"` Trend int64 `json:"Trend"` Wins int64 `json:"Wins"` PlayerID string `json:"player_id"` RetMsg string `json:"ret_msg"` }
LeagueLeaderboardEntry stores data related to the League Leaderboard
type LiveMatchPlayer ¶
type LiveMatchPlayer struct { AccountGodsPlayed int64 `json:"Account_Gods_Played"` AccountLevel int64 `json:"Account_Level"` GodID int64 `json:"GodId"` GodLevel int64 `json:"GodLevel"` GodName string `json:"GodName"` MasteryLevel int64 `json:"Mastery_Level"` Match int64 `json:"Match"` Queue string `json:"Queue"` RankStat int64 `json:"Rank_Stat"` SkinID int64 `json:"SkinId"` Tier int64 `json:"Tier"` MapGame string `json:"mapGame"` PlayerCreated string `json:"playerCreated"` PlayerID string `json:"playerId"` PlayerName string `json:"playerName"` PlayerRegion string `json:"playerRegion"` RetMsg string `json:"ret_msg"` TaskForce int64 `json:"taskForce"` TierLosses int64 `json:"tierLosses"` TierWins int64 `json:"tierWins"` }
LiveMatchPlayer stores data related to a Player in a currently Live Match
type LoadoutItem ¶
type LoadoutItem struct { ItemID int64 `json:"ItemId"` ItemName string `json:"ItemName"` Points int64 `json:"Points"` }
LoadoutItem stores data related to an Item inside a Loadout
type MOTD ¶
type MOTD struct { Description string `json:"description"` GameMode string `json:"gameMode"` MaxPlayers string `json:"maxPlayers"` Name string `json:"name"` RetMsg string `json:"ret_msg"` StartDateTime string `json:"startDateTime"` Team1GodsCSV string `json:"team1GodsCSV"` Team2GodsCSV string `json:"team2GodsCSV"` Title string `json:"title"` }
MOTD stores data related to Match Of The Day modes
type Match ¶
type Match struct { ActiveFlag string `json:"Active_Flag"` Match int64 `json:"Match"` RetMsg string `json:"ret_msg"` }
Match stores data related to an in game Match
type MatchPlayer ¶
type MatchPlayer struct { ActiveID1 int64 `json:"ActiveId1"` ActiveID2 int64 `json:"ActiveId2"` Active1 string `json:"Active_1"` Active2 string `json:"Active_2"` Active3 string `json:"Active_3"` Assists int64 `json:"Assists"` Ban1 string `json:"Ban1"` Ban10 string `json:"Ban10"` Ban10ID int64 `json:"Ban10Id"` Ban1ID int64 `json:"Ban1Id"` Ban2 string `json:"Ban2"` Ban2ID int64 `json:"Ban2Id"` Ban3 string `json:"Ban3"` Ban3ID int64 `json:"Ban3Id"` Ban4 string `json:"Ban4"` Ban4ID int64 `json:"Ban4Id"` Ban5 string `json:"Ban5"` Ban5ID int64 `json:"Ban5Id"` Ban6 string `json:"Ban6"` Ban6ID int64 `json:"Ban6Id"` Ban7 string `json:"Ban7"` Ban7ID int64 `json:"Ban7Id"` Ban8 string `json:"Ban8"` Ban8ID int64 `json:"Ban8Id"` Ban9 string `json:"Ban9"` Ban9ID int64 `json:"Ban9Id"` Creeps int64 `json:"Creeps"` Damage int64 `json:"Damage"` DamageBot int64 `json:"Damage_Bot"` DamageDoneInHand int64 `json:"Damage_Done_In_Hand"` DamageMitigated int64 `json:"Damage_Mitigated"` DamageStructure int64 `json:"Damage_Structure"` DamageTaken int64 `json:"Damage_Taken"` DamageTakenMagical int64 `json:"Damage_Taken_Magical"` DamageTakenPhysical int64 `json:"Damage_Taken_Physical"` Deaths int64 `json:"Deaths"` DistanceTraveled int64 `json:"Distance_Traveled"` FirstBanSide string `json:"First_Ban_Side"` God string `json:"God"` GodID int64 `json:"GodId"` Gold int64 `json:"Gold"` Healing int64 `json:"Healing"` HealingBot int64 `json:"Healing_Bot"` HealingPlayerSelf int64 `json:"Healing_Player_Self"` ItemID1 int64 `json:"ItemId1"` ItemID2 int64 `json:"ItemId2"` ItemID3 int64 `json:"ItemId3"` ItemID4 int64 `json:"ItemId4"` ItemID5 int64 `json:"ItemId5"` ItemID6 int64 `json:"ItemId6"` Item1 string `json:"Item_1"` Item2 string `json:"Item_2"` Item3 string `json:"Item_3"` Item4 string `json:"Item_4"` Item5 string `json:"Item_5"` Item6 string `json:"Item_6"` KillingSpree int64 `json:"Killing_Spree"` Kills int64 `json:"Kills"` Level int `json:"Level"` MapGame string `json:"Map_Game"` Match int64 `json:"Match"` MatchQueueID int `json:"Match_Queue_Id"` MatchTime string `json:"Match_Time"` Minutes int64 `json:"Minutes"` MultiKillMax int64 `json:"Multi_kill_Max"` ObjectiveAssists int64 `json:"Objective_Assists"` Queue string `json:"Queue"` Region string `json:"Region"` Skin string `json:"Skin"` SkinID int64 `json:"SkinId"` Surrendered int64 `json:"Surrendered"` TaskForce int64 `json:"TaskForce"` Team1Score int64 `json:"Team1Score"` Team2Score int64 `json:"Team2Score"` TimeInMatchSeconds int64 `json:"Time_In_Match_Seconds"` WardsPlaced int64 `json:"Wards_Placed"` WinStatus string `json:"Win_Status"` WinningTaksForce int64 `json:"Winning_TaskForce"` PlayerID string `json:"playerId"` PlayerName string `json:"playerName"` RetMsg string `json:"ret_msg"` }
MatchPlayer stores data related to a Player present in a Match
type MergedPlayer ¶
type MergedPlayer struct { MergeDatetime string `json:"merge_datetime"` PlayerID string `json:"playerId"` PortalID string `json:"portalId"` }
MergedPlayer stores data related to merged identites of the same Player on different Platforms
type Player ¶
type Player struct { ActivePlayerID int64 `json:"ActivePlayerId"` AvatarID int64 `json:"AvatarID"` AvatarURL string `json:"Avatar_URL"` CreatedDatetime string `json:"Created_Datetime"` HoursPlayed int64 `json:"HoursPlayed"` ID int64 `json:"Id"` LastLoginDatetime string `json:"Last_Login_Datetime"` Leaves int64 `json:"Leaves"` Level int64 `json:"Level"` LoadingFrame string `json:"LoadingFrame"` Losses int64 `json:"Losses"` MasteryLevel int `json:"MasteryLevel"` MergedPlayers []MergedPlayer `json:"MergedPlayers"` MinutesPlayed int64 `json:"MinutesPlayed"` Name string `json:"Name"` PersonalStatusMessage string `json:"Personal_Status_Message"` Platform string `json:"Platform"` RankedStatConquest float32 `json:"Rank_Stat_Conquest"` RankedStatConquestController float32 `json:"Rank_Stat_Conquest_Controller"` RankedStatDuel float32 `json:"Rank_Stat_Duel"` RankedStatDuelController float32 `json:"Rank_Stat_Duel_Controller"` RankedStatJoust float32 `json:"Rank_Stat_Joust"` RankedStatJoustController float32 `json:"Rank_Stat_Joust_Controller"` RankedConquest PlayerRankedInfo `json:"RankedConquest"` RankedConquestController PlayerRankedInfo `json:"RankedConquestController"` RankedDuel PlayerRankedInfo `json:"RankedDuel"` RankedDuelController PlayerRankedInfo `json:"RankedDuelController"` RankedJoust PlayerRankedInfo `json:"RankedJoust"` RankedJoustController PlayerRankedInfo `json:"RankedJoustController"` RankedKBM PlayerRankedInfo `json:"RankedKBM"` Region string `json:"Region"` TeamID int64 `json:"TeamId"` TeamName string `json:"Team_Name"` TierConquest int `json:"Tier_Conquest"` TierDuel int `json:"Tier_Duel"` TierJoust int `json:"Tier_Joust"` TierRankedController int `json:"Tier_RankedController"` TierRankedKBM int `json:"Tier_RankedKBM"` Title string `json:"Title"` TotalAchievements int64 `json:"Total_Achievements"` TotalWorshippers int64 `json:"Total_Worshippers"` TotalXP int64 `json:"Total_XP"` Wins int64 `json:"Wins"` HZGamerTag string `json:"hz_gamer_tag"` HZPlayerName string `json:"hz_player_name"` RetMsg string `json:"ret_msg"` }
Player stores data related to a Player account
type PlayerAchievements ¶
type PlayerAchievements struct { AssistedKills int64 `json:"AssistedKills"` CampsCleared int64 `json:"CampsCleared"` Deaths int64 `json:"Deaths"` DivineSpree int64 `json:"DivineSpree"` DoubleKills int64 `json:"DoubleKills"` FireGiantKills int64 `json:"FireGiantKills"` FirstBloods int64 `json:"FirstBloods"` GodLikeSpree int64 `json:"GodLikeSpree"` GoldFuryKills int64 `json:"GoldFuryKills"` ID int64 `json:"Id"` ImmortalSpree int64 `json:"ImmortalSpree"` KillingSpree int64 `json:"KillingSpree"` MinionKills int64 `json:"MinionKills"` Name string `json:"Name"` PentaKills int64 `json:"PentaKills"` PhoenixKills int64 `json:"PhoenixKills"` PlayerKills int64 `json:"PlayerKills"` QuadraKills int64 `json:"QuadraKills"` RampageSpree int64 `json:"RampageSpree"` ShutdownSpree int64 `json:"ShutdownSpree"` SiegeJuggernautKills int64 `json:"SiegeJuggernautKills"` TowerKills int64 `json:"TowerKills"` TripleKills int64 `json:"TripleKills"` UnstoppableSpree int64 `json:"UnstoppableSpree"` WildJuggernautKills int64 `json:"WildJuggernautKills"` RetMsg string `json:"ret_msg"` }
PlayerAchievements stores data realted to a Player's unlocked Achievements
type PlayerGodQueueStat ¶
type PlayerGodQueueStat struct { Assists int64 `json:"Assists"` Deaths int64 `json:"Deaths"` God string `json:"God"` GodID int64 `json:"GodId"` Gold int64 `json:"Gold"` Kills int64 `json:"Kills"` LastPlayed string `json:"LastPlayed"` Losses int64 `json:"Losses"` Matches int64 `json:"Matches"` Minutes int64 `json:"Minutes"` Queue string `json:"Queue"` Wins int64 `json:"Wins"` PlayerID string `json:"player_id"` RetMsg string `json:"ret_msg"` }
PlayerGodQueueStat stores data related to a Player's stats for a given Queue type
type PlayerIDInfo ¶
type PlayerIDInfo struct { Name string `json:"Name,omitempty"` HZPlayerName string `json:"hz_player_name,omitempty"` PlayerID PlayerIDValue `json:"player_id"` Portal string `json:"portal"` PortalID string `json:"portal_id"` PrivacyFlag string `json:"privacy_flag"` RetMsg string `json:"ret_msg"` }
PlayerIDInfo stores data related to a Player Identity
type PlayerIDInfoForXBOXAndSwitch ¶
type PlayerIDInfoForXBOXAndSwitch struct { Name string `json:"Name"` Gamertag string `json:"gamer_tag"` Platform string `json:"platform"` PlayerID string `json:"player_id"` PortalUserID int64 `json:"portal_userid"` RetMsg string `json:"ret_msg"` }
PlayerIDInfoForXBOXAndSwitch stores data related to various identifiers for a Player
type PlayerIDValue ¶ added in v0.0.8
type PlayerIDValue string
PlayerIDValue needs to be flexible because the HiRez API returns a number and a string on two different endpoints... i.e. - 1234 and "1234"
func (*PlayerIDValue) UnmarshalJSON ¶ added in v0.0.8
func (p *PlayerIDValue) UnmarshalJSON(b []byte) error
type PlayerLoadout ¶
type PlayerLoadout struct { ChampionID int64 `json:"ChampionId"` ChampionName string `json:"ChampionName"` DeckID int64 `json:"DeckId"` DeckName string `json:"DeckName"` LoadoutItems []LoadoutItem `json:"LoadoutItems"` PlayerID int64 `json:"playerId"` PlayerName string `json:"playerName"` RetMsg string `json:"ret_msg"` }
PlayerLoadout stores data related to a Player's Champion Loadout
type PlayerRankedInfo ¶
type PlayerRankedInfo struct { Leaves int64 `json:"Leaves"` Losses int64 `json:"Losses"` Name string `json:"Name"` Points int64 `json:"Points"` PrevRank int64 `json:"PrevRank"` Rank int64 `json:"Rank"` RankStat float32 `json:"Rank_Stat"` RankVariance int64 `json:"Rank_Variance"` Season int64 `json:"Season"` Tier int64 `json:"Tier"` Trend int64 `json:"Trend"` Wins int64 `json:"Wins"` PlayerID string `json:"player_id"` RetMsg string `json:"ret_msg"` }
PlayerRankedInfo stores data related to Ranked Info for a Player
type PlayerStatus ¶
type PlayerStatus struct { Match int64 `json:"Match"` MatchQueueID int64 `json:"match_queue_id"` PersonalStatusMessage string `json:"personal_status_message"` RetMsg string `json:"ret_msg"` Status int `json:"status"` StatusString string `json:"status_string"` }
PlayerStatus stores data related to a Players current Status
type Season ¶
type Season struct { Complete bool `json:"complete"` ID int64 `json:"id"` LeagueDescription string `json:"league_description"` Name string `json:"name"` RetMsg string `json:"ret_msg"` Round int64 `json:"round"` Season int64 `json:"season"` }
Season stores data related to a game Season
type Session ¶
type Session struct { RetMsg string `json:"ret_msg"` SessionID string `json:"session_id"` Timestamp string `json:"timestamp"` }
Session stores data related to a current HiRezAPI Session.
type TeamDetail ¶
type TeamDetail struct { Founder string `json:"Founder"` FounderID string `json:"FounderId"` Losses int64 `json:"Losses"` Name string `json:"Name"` Players int64 `json:"Players"` Rating int64 `json:"Rating"` Tag string `json:"Tag"` TeamID int64 `json:"TeamId"` Wins int64 `json:"Wins"` RetMsg string `json:"ret_msg"` }
TeamDetail stores data related to a Smite Clan
type TeamPlayer ¶
type TeamPlayer struct { AccountLevel int `json:"AccountLevel"` JoinedDatetime string `json:"JoinedDatetime"` LastLoginDatetime string `json:"LastLoginDatetime"` Name string `json:"Name"` RetMsg string `json:"ret_msg"` }
TeamPlayer stores data related to a Smite Clan Member
type TopMatch ¶
type TopMatch struct { Ban1 string `json:"Ban1"` Ban1ID int64 `json:"Ban1Id"` Ban2 string `json:"Ban2"` Ban2ID int64 `json:"Ban2Id"` EntryDatetime string `json:"Entry_Datetime"` LiveSpectators int64 `json:"LiveSpectators"` Match int64 `json:"Match"` MatchTime int64 `json:"Match_Time"` OfflineSpectators int64 `json:"OfflineSpectators"` Queue string `json:"Queue"` RecordingFinished string `json:"RecordingFinished"` RecordingStarted string `json:"RecordingStarted"` Team1AvgLevel int64 `json:"Team1_AvgLevel"` Team1Gold int64 `json:"Team1_Gold"` Team1Kills int64 `json:"Team1_Kills"` Team1Score int64 `json:"Team1_Score"` Team2AvgLevel int64 `json:"Team2_AvgLevel"` Team2Gold int64 `json:"Team2_Gold"` Team2Kills int64 `json:"Team2_Kills"` Team2Score int64 `json:"Team2_Score"` WinningTeam int64 `json:"WinningTeam"` RetMsg string `json:"ret_msg"` }
TopMatch stores data related to a recent Top Match
type VersionInfo ¶
type VersionInfo struct { RetMsg string `json:"ret_msg"` VersionString string `json:"version_string"` }
VerstionInfo stores data related to the version of a game patch