Versions in this module Expand all Collapse all v0 v0.2.4 Jul 9, 2021 v0.2.3 Jul 9, 2021 v0.2.2 Jul 9, 2021 Changes in this version type API + func New() *API v0.2.1 Jul 9, 2021 v0.2.0 Jul 9, 2021 v0.1.0 Jul 9, 2021 Changes in this version + const LIVE_CLIENT_DATA_URL + type API struct + func NewAPI() *API + func (a *API) Get(e string, params url.Values) (*http.Response, error) + func (a *API) GetActivePlayer() (ActivePlayer, error) + func (a *API) GetActivePlayerAbilities() (Abilities, error) + func (a *API) GetActivePlayerName() (string, error) + func (a *API) GetActivePlayerRunes() (FullRunes, error) + func (a *API) GetAllGameData() (AllGameData, error) + func (a *API) GetAllPlayers() ([]Player, error) + func (a *API) GetEvents() (Events, error) + func (a *API) GetGameData() (GameData, error) + func (a *API) GetPlayerItems(playerName string) ([]Item, error) + func (a *API) GetPlayerMainRunes(playerName string) (Runes, error) + func (a *API) GetPlayerScores(playerName string) (Scores, error) + func (a *API) GetPlayerSummonerSpells(playerName string) (SummonerSpells, error) + func (a *API) HTTPClient(c *http.Client) *API + type APIError struct + ErrorCode string + HTTPStatus int + ImplementationDetails interface{} + Message string + type Abilities struct + E Ability + Passive Ability + Q Ability + R Ability + W Ability + type Ability struct + AbilityLevel int + DisplayName string + ID string + RawDescription string + RawDisplayName string + type ActivePlayer struct + Abilities Abilities + ChampionStats ChampionStats + CurrentGold float64 + FullRunes FullRunes + Level int + SummonerName string + type AllGameData struct + ActivePlayer ActivePlayer + AllPlayers []Player + Events Events + GameData GameData + type ChampionStats struct + AbilityHaste float64 + AbilityPower float64 + Armor float64 + ArmorPenetrationFlat float64 + ArmorPenetrationPercent float64 + AttackDamage float64 + AttackRange float64 + AttackSpeed float64 + BonusArmorPenetrationPercent float64 + BonusMagicPenetrationPercent float64 + CritChance float64 + CritDamage float64 + CurrentHealth float64 + HealthRegenRate float64 + LifeSteal float64 + MagicLethality float64 + MagicPenetrationFlat float64 + MagicPenetrationPercent float64 + MagicResist float64 + MaxHealth float64 + MoveSpeed float64 + PhysicalLethality float64 + ResourceMax float64 + ResourceRegenRate float64 + ResourceType string + ResourceValue float64 + SpellVamp float64 + Tenacity float64 + type Event struct + Assisters []string + DragonType string + EventID int + EventName string + EventTime float64 + KillerName string + Recipient string + Stolen string + TurretKilled string + VictimName string + type Events struct + Events []Event + type FullRunes struct + GeneralRunes []Rune + Keystone Rune + PrimaryRuneTree Rune + SecondaryRuneTree Rune + StatRunes []Rune + type GameData struct + GameMode string + GameTime float64 + MapName string + MapNumber int + MapTerrain string + type Item struct + CanUse bool + Consumable bool + Count int + DisplayName string + ItemID int + Price int + RawDescription string + RawDisplayName string + Slot int + type Player struct + ChampionName string + IsBot bool + IsDead bool + Items []Item + Level int + Position string + RawChampionName string + RespawnTimer float64 + Runes Runes + Scores Scores + SkinID int + SummonerName string + SummonerSpells SummonerSpells + Team string + type Rune struct + DisplayName string + ID int + RawDescription string + RawDisplayName string + type Runes struct + Keystone Rune + PrimaryRuneTree Rune + SecondaryRuneTree Rune + type Scores struct + Assists int + CreepScore int + Deaths int + Kills int + WardScore float64 + type SummonerSpell struct + DisplayName string + RawDescription string + RawDisplayName string + type SummonerSpells struct + SummonerSpellOne SummonerSpell + SummonerSpellTwo SummonerSpell