Versions in this module Expand all Collapse all v0 v0.2.1 Apr 18, 2022 v0.2.0 Apr 15, 2022 Changes in this version type AuthenticatedApi + func (api *AuthenticatedApi) CurrentCircuit() (*CircuitInfo, error) + func (api *AuthenticatedApi) Expired() bool type CircuitInfo + StartDay time.Time v0.1.1 Apr 5, 2022 Changes in this version + type PriceChangeData struct + ProbabilityPriceDownPercent int + ProbabilityPriceUpPercent int + SelectionPercentage float64 + type PriceHistory struct + GamePeriodId int + Price float64 v0.1.0 Mar 18, 2022 Changes in this version + type Api struct + func NewApi() *Api + func (api *Api) GetCircuits() ([]Circuit, error) + func (api *Api) GetPlayers() (*Players, error) + type AuthenticatedApi struct + func NewAuthenticatedApi(user string, password string) (*AuthenticatedApi, error) + func (api *AuthenticatedApi) GetLeagueLeaderboard(leagueId int) (*LeagueLeaderboard, error) + type Circuit struct + Info CircuitInfo + Name string + PeriodId int + type CircuitInfo struct + CircuitImage Image + CountryIso string + Created time.Time + Distance string + FirstGrandPrix string + GmtOffset string + Id int + LapRecord string + Length string + Name string + Practice1 string + Practice2 string + Practice3 string + Qualifying string + Race string + ShortName string + TotalLaps string + Updated time.Time + type ConstructorData struct + BestFinish int + BestFinishCount int + BestGrid int + BestGridCount int + ChampionshipPoints float64 + Country string + FastestLaps int + FirstSeason string + HighestRaceFinished string + Poles int + Titles int + type DriverData struct + BestFinish int + BestFinishCount int + BestGrid int + BestGridCount int + ChampionshipPoints int + FastestLaps int + HighestRaceFinished string + PlaceOfBirth string + Podiums int + Poles int + Titles int + TotalGrandPrix int + Wins int + type Headshot struct + PitchView string + PlayerList string + Profile string + type Image struct + Url *string + type Leaderboard struct + Entries []LeaderboardEntry + LeagueMappingType *string + LeagueMappingTypeParam *string + LeagueName string + MaxPoints float64 + MinPoints float64 + NumEntrants int + type LeaderboardEntry struct + Country string + IsVerifiedEntrant bool + Rank int + Score float64 + Slot int + TeamName string + UsedBoosterIds []string + UserExternalId int + UserGlobalId string + UserId int + UserName string + type LeagueLeaderboard struct + Leaderboard Leaderboard + type Meta struct + Total int + type Player struct + BanType *string + Banned bool + Born *string + ChanceOfPlaying float64 + ConstructorStats *ConstructorData + Country *string + CountryIso *string + DeletedInFeed bool + DisplayName string + DriverStats *DriverData + ExternalId string + FirstName string + HasFixture bool + HeadshotImages Headshot + HumanizeStatus *string + Id int + Injured bool + InjuryType *string + IsConstructor bool + JerseyImage Image + KnownName *string + LastName string + MiscImage Image + NumFixturesInGameweek int + Position string + PositionAbbreviation string + PositionId int + Price float64 + PriceChangeInfo *string + ProfileImage Image + Score int64 + SeasonPrices *string + SeasonScore int64 + ShirtNumber *int64 + Status *string + TeamAbbreviation string + TeamId int + TeamName string + WeeklyPriceChange float64 + WeeklyPriceChangePercentage int64 + type Players struct + MetaInfo Meta + PlayerList []Player