mlblive/cmd/internal/statsapi/teams.go

54 lines
1.3 KiB
Go
Raw Normal View History

2024-07-14 21:52:15 +00:00
/*
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/>.
*/
2024-07-02 04:16:44 +00:00
package statsapi
2024-07-15 00:12:55 +00:00
type TeamID int
2024-08-02 03:37:33 +00:00
// NOTE: there are obviously more teams than this (in other leagues), but I
// only need MLB for my purposes
2024-07-15 00:12:55 +00:00
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
)