54 lines
1.3 KiB
Go
54 lines
1.3 KiB
Go
/*
|
|
Copyright © 2024 filifa
|
|
|
|
This program is free software: you can redistribute it and/or modify it under
|
|
the terms of the GNU General Public License as published by the Free Software
|
|
Foundation, either version 3 of the License, or (at your option) any later
|
|
version.
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along with
|
|
this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package statsapi
|
|
|
|
type TeamID int
|
|
|
|
// NOTE: there are obviously more teams than this (in other leagues), but I
|
|
// only need MLB for my purposes
|
|
const (
|
|
LAA TeamID = 108
|
|
AZ TeamID = 109
|
|
BAL TeamID = 110
|
|
BOS TeamID = 111
|
|
CHC TeamID = 112
|
|
CIN TeamID = 113
|
|
CLE TeamID = 114
|
|
COL TeamID = 115
|
|
DET TeamID = 116
|
|
HOU TeamID = 117
|
|
KC TeamID = 118
|
|
LAD TeamID = 119
|
|
WSH TeamID = 120
|
|
NYM TeamID = 121
|
|
OAK TeamID = 133
|
|
PIT TeamID = 134
|
|
SD TeamID = 135
|
|
SEA TeamID = 136
|
|
SF TeamID = 137
|
|
STL TeamID = 138
|
|
TB TeamID = 139
|
|
TEX TeamID = 140
|
|
TOR TeamID = 141
|
|
MIN TeamID = 142
|
|
PHI TeamID = 143
|
|
ATL TeamID = 144
|
|
CWS TeamID = 145
|
|
MIA TeamID = 146
|
|
NYY TeamID = 147
|
|
MIL TeamID = 158
|
|
)
|