Documentation
¶
Index ¶
Constants ¶
View Source
const ( Forward Position = "F" Center = "C" Guard = "G" )
View Source
const NBA_DATA_ENDPOINT = "https://data.nba.net/data/10s/prod/v1"
Variables ¶
This section is empty.
Functions ¶
func GetBoxscoreData ¶
GetBoxscoreData returns the boxscore from a given date and game identifier
func GetMockServer ¶
GetMockServer initializes the mock responses when calling data api
func GetScoreboardData ¶
GetScoreboardData returns the scoreboard from a given date
Types ¶
type Boxscore ¶
Boxscore represents the boxscore of a game
func GetBoxscore ¶
GetBoxscore returns the boxscore of a game between two teams that was played from a given date
func GetBoxscores ¶
GetBoxscores returns the list of boxscores that was played from a given date
Click to show internal directories.
Click to hide internal directories.