From 957077b581d0b9608613a5a65f1e393a09431b0e Mon Sep 17 00:00:00 2001 From: filifa Date: Sun, 28 Jul 2024 17:17:55 -0500 Subject: [PATCH] add sportId consts --- cmd/internal/statsapi/sports.go | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cmd/internal/statsapi/sports.go diff --git a/cmd/internal/statsapi/sports.go b/cmd/internal/statsapi/sports.go new file mode 100644 index 0000000..1d39035 --- /dev/null +++ b/cmd/internal/statsapi/sports.go @@ -0,0 +1,39 @@ +/* +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 . +*/ +package statsapi + +type SportID int + +const ( + MLB SportID = 1 + AAA SportID = 11 + AA SportID = 12 + HighA SportID = 13 + A SportID = 14 + Rookie SportID = 16 + Winter SportID = 17 + MILB SportID = 21 + Independent SportID = 23 + Negro SportID = 61 + KBO SportID = 32 + NPB SportID = 31 + International SportID = 51 + International18U SportID = 509 + International16U SportID = 510 + InternationalAmateur SportID = 6005 + College SportID = 22 + HighSchool SportID = 586 +)