clean out internal some more
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
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 LeagueID int
|
||||
|
||||
// NOTE: there's a lot more leagues than this, but I don't care enough to put
|
||||
// them all in right now
|
||||
const (
|
||||
AL LeagueID = 103
|
||||
NL LeagueID = 104
|
||||
NN2 LeagueID = 431
|
||||
NNL LeagueID = 430
|
||||
EWL LeagueID = 429
|
||||
NAL LeagueID = 428
|
||||
ECL LeagueID = 427
|
||||
ANL LeagueID = 426
|
||||
NSL LeagueID = 432
|
||||
AA LeagueID = 100
|
||||
PL LeagueID = 105
|
||||
UA LeagueID = 101
|
||||
FL LeagueID = 106
|
||||
)
|
||||
@@ -1,41 +0,0 @@
|
||||
/*
|
||||
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 SportID int
|
||||
|
||||
// These are all the Sport IDs used in some of the API calls, like the schedule
|
||||
// endpoint.
|
||||
const (
|
||||
MLB SportID = 1
|
||||
TripleA SportID = 11
|
||||
DoubleA SportID = 12
|
||||
HighA SportID = 13
|
||||
SingleA SportID = 14
|
||||
Rookie SportID = 16
|
||||
Winter SportID = 17
|
||||
MILB SportID = 21
|
||||
Independent SportID = 23
|
||||
Negro SportID = 61
|
||||
Korea SportID = 32
|
||||
NPB SportID = 31
|
||||
International SportID = 51
|
||||
International18U SportID = 509
|
||||
International16U SportID = 510
|
||||
InternationalAmateur SportID = 6005
|
||||
College SportID = 22
|
||||
HighSchool SportID = 586
|
||||
)
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user