diff --git a/cmd/leagueabbr.go b/cmd/leagueabbr.go index fe0549c..974a0b6 100644 --- a/cmd/leagueabbr.go +++ b/cmd/leagueabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/leagues var leagueIDs = map[string]int32{ "al": 103, "nl": 104, diff --git a/cmd/sportabbr.go b/cmd/sportabbr.go index 80e2ffb..8275abb 100644 --- a/cmd/sportabbr.go +++ b/cmd/sportabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/sports var sportIDs = map[string]int32{ "mlb": 1, "aaa": 11, diff --git a/cmd/teamabbr.go b/cmd/teamabbr.go index df9a142..f604eb2 100644 --- a/cmd/teamabbr.go +++ b/cmd/teamabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/teams var teamIDs = map[string]int32{ "laa": 108, "az": 109,