add comments
This commit is contained in:
parent
abdfd503fd
commit
0c4f307d29
|
@ -19,6 +19,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// retrieved from https://statsapi.mlb.com/api/v1/leagues
|
||||||
var leagueIDs = map[string]int32{
|
var leagueIDs = map[string]int32{
|
||||||
"al": 103,
|
"al": 103,
|
||||||
"nl": 104,
|
"nl": 104,
|
||||||
|
|
|
@ -19,6 +19,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// retrieved from https://statsapi.mlb.com/api/v1/sports
|
||||||
var sportIDs = map[string]int32{
|
var sportIDs = map[string]int32{
|
||||||
"mlb": 1,
|
"mlb": 1,
|
||||||
"aaa": 11,
|
"aaa": 11,
|
||||||
|
|
|
@ -19,6 +19,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// retrieved from https://statsapi.mlb.com/api/v1/teams
|
||||||
var teamIDs = map[string]int32{
|
var teamIDs = map[string]int32{
|
||||||
"laa": 108,
|
"laa": 108,
|
||||||
"az": 109,
|
"az": 109,
|
||||||
|
|
Loading…
Reference in New Issue