Documentation ¶
Index ¶
Constants ¶
View Source
const NBA_REFERENCE_ENDPOINT = "https://basketball-reference.com"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AverageStats ¶
type Client ¶
type Client struct {
Url string
}
func (Client) GetPlayers ¶
GetPlayers returns the list of teams for the given season by list of teams, or all teams if no teams specified
type Stats ¶
type Stats struct { PlayerID string FirstName string LastName string TeamID string Points int Rebounds int Assists int Blocks int Steals int Turnovers int Fouls int FGM int // Field goal made FGA int // Field goal attempted TPM int // Three points made TPA int // Three points attempted FTM int // Free throw made FTA int // Free throw attempted }
Stats represents the statistics of a player
Click to show internal directories.
Click to hide internal directories.