Versions in this module Expand all Collapse all v0 v0.0.5 Feb 25, 2024 Changes in this version + type FieldingStats struct + Assists int + Chances int + DoublePlays int + Errors int + Fielding string + GamesPlayed int + GamesStarted int + Innings string + Position PlayerPosition + PutOuts int + RangeFactorPer9Inn string + RangeFactorPerGame string + ThrowingErrors int + TriplePlays int + type FieldingStatsResponse struct + Stats []PlayerFieldingStats + type FieldingStatsSplit struct + GameType string + NumTeams int + Player Person + Season string + Sport Sport + Stat FieldingStats + Team Team + type HittingStats struct + AirOuts int + AtBats int + AtBatsPerHomeRun string + Avg string + Babip string + BaseOnBalls int + CatchersInterference int + CaughtStealing int + Doubles int + GamesPlayed int + GroundIntoDoublePlay int + GroundOuts int + GroundOutsToAirouts string + HitByPitch int + Hits int + HomeRuns int + IntentionalWalks int + LeftOnBase int + NumberOfPitches int + Obp string + Ops string + PlateAppearances int + Rbi int + Runs int + SacBunts int + SacFlies int + Slg string + StolenBasePercentage string + StolenBases int + StrikeOuts int + TotalBases int + Triples int + type HittingStatsResponse struct + Stats []PlayerHittingStats + type HittingStatsSplit struct + GameType string + NumTeams int + Player Person + Season string + Sport Sport + Stat HittingStats + Team Team + type PitchingStats struct + AirOuts int + AtBats int + Avg string + Balks int + BaseOnBalls int + BattersFaced int + BlownSaves int + CatchersInterference int + CaughtStealing int + CompleteGames int + Doubles int + EarnedRuns int + Era string + GamesFinished int + GamesPitched int + GamesPlayed int + GamesStarted int + GroundIntoDoublePlay int + GroundOuts int + GroundOutsToAirouts string + HitBatsmen int + HitByPitch int + Hits int + HitsPer9Inn string + Holds int + HomeRuns int + HomeRunsPer9 string + InheritedRunners int + InheritedRunnersScored int + InningsPitched string + IntentionalWalks int + Losses int + NumberOfPitches int + Obp string + Ops string + Outs int + Pickoffs int + PitchesPerInning string + Runs int + RunsScoredPer9 string + SacBunts int + SacFlies int + SaveOpportunities int + Saves int + Shutouts int + Slg string + StolenBasePercentage string + StolenBases int + StrikeOuts int + StrikePercentage string + StrikeoutWalkRatio string + StrikeoutsPer9Inn string + Strikes int + TotalBases int + Triples int + WalksPer9Inn string + Whip string + WildPitches int + WinPercentage string + Wins int + type PitchingStatsResponse struct + Stats []PlayerPitchingStats + type PitchingStatsSplit struct + GameType string + NumTeams int + Player Person + Season string + Sport Sport + Stat PitchingStats + Team Team + type PlayerFieldingStats struct + Group struct{ ... } + Splits []FieldingStatsSplit + Type struct{ ... } + type PlayerHittingStats struct + Group struct{ ... } + Splits []HittingStatsSplit + Type struct{ ... } + type PlayerPitchingStats struct + Group struct{ ... } + Splits []PitchingStatsSplit + Type struct{ ... } + type Sport struct + Abbreviation string + Id int + type Team struct + Id int + Name string v0.0.4 Feb 22, 2024 v0.0.3 Feb 20, 2024 v0.0.2 Feb 19, 2024 Changes in this version + var DefaultBaseURL = &url.URL + type Boxscore struct + Teams BoxscoreTeams + type BoxscoreBattingSeasonStats struct + AtBats int + AtBatsPerHomeRun string + Avg string + Babip string + BaseOnBalls int + CatchersInterference int + CaughtStealing int + Doubles int + FlyOuts int + GamesPlayed int + GroundIntoDoublePlay int + GroundIntoTriplePlay int + GroundOuts int + HitByPitch int + Hits int + HomeRuns int + IntentionalWalks int + LeftOnBase int + Obp string + Ops string + Pickoffs int + PlateAppearances int + Rbi int + Runs int + SacBunts int + SacFlies int + Slg string + StolenBasePercentage string + StolenBases int + StrikeOuts int + TotalBases int + Triples int + type BoxscoreBattingStats struct + AtBats int + AtBatsPerHomeRun string + BaseOnBalls int + CatchersInterference int + CaughtStealing int + Doubles int + FlyOuts int + GamesPlayed int + GroundIntoDoublePlay int + GroundIntoTriplePlay int + GroundOuts int + HitByPitch int + Hits int + HomeRuns int + IntentionalWalks int + LeftOnBase int + Note string + Pickoffs int + PlateAppearances int + Rbi int + Runs int + SacBunts int + SacFlies int + StolenBasePercentage string + StolenBases int + StrikeOuts int + Summary string + TotalBases int + Triples int + type BoxscoreFieldingSeasonStats struct + Assists int + CaughtStealing int + Chances int + Errors int + Fielding string + GamesStarted int + PassedBall int + Pickoffs int + PutOuts int + StolenBasePercentage string + StolenBases int + type BoxscoreFieldingStats struct + Assists int + CaughtStealing int + Errors int + Fielding string + PassedBall int + Pickoffs int + PutOuts int + StolenBasePercentage string + StolenBases int + type BoxscoreInfo struct + FieldList []BoxscoreNote + type BoxscoreNote struct + Label string + Value string + type BoxscorePitchingSeasonStats struct + AirOuts int + AtBats int + Balks int + Balls int + BaseOnBalls int + BattersFaced int + BlownSaves int + CatchersInterference int + CaughtStealing int + CompleteGames int + Doubles int + EarnedRuns int + Era string + FlyOuts int + GamesFinished int + GamesPitched int + GamesPlayed int + GamesStarted int + GroundOuts int + GroundOutsToAirOuts string + HitBatsmen int + HitByPitch int + Hits int + HitsPer9Inn string + Holds int + HomeRuns int + HomeRunsPer9 string + InheritedRunners int + InheritedRunnersScored int + InningsPitched string + IntentionalWalks int + Losses int + NumberOfPitches int + Obp string + Outs int + PassedBall int + Pickoffs int + PitchesPerInning string + PitchesThrown int + Rbi int + Runs int + RunsScoredPer9 string + SacBunts int + SacFlies int + SaveOpportunities int + Saves int + Shutdouts int + StolenBasePercentage string + StolenBases int + StrikeOuts int + StrikePercentage string + StrikeoutWalkRatio string + StrikeoutsPer9Inn string + Strikes int + Triples int + WalksPer9Inn string + Whip string + WildPitches int + WinPercentage string + Wins int + type BoxscorePitchingStats struct + AirOuts int + AtBats int + Balks int + Balls int + BaseOnBalls int + BattersFaced int + BlownSaves int + CatchersInterference int + CaughtStealing int + CompleteGames int + Doubles int + EarnedRuns int + FlyOuts int + GamesFinished int + GamesPitched int + GamesPlayed int + GamesStarted int + GroundOuts int + HitBatsmen int + HitByPitch int + Hits int + Holds int + HomeRuns int + HomeRunsPer9 string + InheritedRunners int + InheritedRunnersScored int + InningsPitched string + IntentionalWalks int + Losses int + Note string + NumberOfPitches int + Outs int + PassedBall int + Pickoffs int + PitchesThrown int + Rbi int + Runs int + RunsScoredPer9 string + SacBunts int + SacFlies int + SaveOpportunities int + Saves int + Shutdouts int + StolenBasePercentage string + StolenBases int + StrikeOuts int + StrikePercentage string + Strikes int + Summary string + Triples int + WildPitches int + Wins int + type BoxscorePlayer struct + GameStatus BoxscorePlayerGameStatus + JerseyNumber string + ParentTeamId int + Person Person + Position PlayerPosition + SeasonStats BoxscorePlayerSeasonStats + Stats BoxscorePlayerStats + Status BoxscorePlayerStatus + type BoxscorePlayerGameStatus struct + IsCurrentBatter bool + IsCurrentPitcher bool + IsOnBench bool + IsSubstitute bool + type BoxscorePlayerSeasonStats struct + Batting BoxscoreBattingSeasonStats + Fielding BoxscoreFieldingSeasonStats + Pitching BoxscorePitchingSeasonStats + type BoxscorePlayerStats struct + Batting BoxscoreBattingStats + Fielding BoxscoreFieldingStats + Pitching BoxscorePitchingStats + type BoxscorePlayerStatus struct + Code string + Description string + type BoxscoreTeam struct + Batters []int + BattingOrder []int + Bench []int + Bullpen []int + Info []BoxscoreInfo + Note []BoxscoreNote + Pitchers []int + Players TeamPlayers + type BoxscoreTeams struct + Away BoxscoreTeam + Home BoxscoreTeam + type Client struct + BaseUrl *url.URL + HTTPClient *http.Client + func NewDefaultClient() *Client + func (c *Client) Do(req *http.Request) ([]byte, error) + func (c *Client) Get(endpoint string, query map[string]string) ([]byte, error) + type Game struct + GameGuid string + GamePk int + Linescore ScheduleLinescore + Lineups ScheduleLineups + Teams GameTeams + func (g Game) Description() string + func (g Game) FilterValue() string + func (g Game) Title() string + type GameSummary struct + type GameTeam struct + LeagueRecord TeamRecord + Score int + Team struct{ ... } + type GameTeams struct + Away GameTeam + Home GameTeam + type LinescoreInning struct + Away struct{ ... } + Home struct{ ... } + Num int + type LinescoreTeam struct + Errors int + Hits int + IsWinner bool + LeftOnBase int + Runs int + type LinescoreTeams struct + Away LinescoreTeam + Home LinescoreTeam + type LineupPlayer struct + FirstName string + FullName string + Id int + LastName string + PrimaryPosition PlayerPosition + UseName string + type Person struct + FullName string + Id int + type PlayerPosition struct + Abbreviation string + Code string + Name string + Type string + type Schedule struct + Dates []ScheduleDate + TotalGames int + TotalItems int + type ScheduleDate struct + Date string + Games []Game + TotalGames int + TotalItems int + type ScheduleLinescore struct + Balls int + CurrentInning int + Innings []LinescoreInning + IsTopInning bool + Outs int + Strikes int + Teams LinescoreTeams + type ScheduleLineups struct + AwayPlayers []LineupPlayer + HomePlayers []LineupPlayer + type TeamPlayers map[string]BoxscorePlayer + type TeamRecord struct + Losses int + Pct string + Wins int