-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig_url_variables.go
91 lines (68 loc) · 1.53 KB
/
config_url_variables.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package msf
// ADDRESS
const (
// URL - api url
MySportsFeedBaseURL = "https://api.mysportsfeeds.com"
)
// VERSION
const (
// VersionV1_1 - v1.1
VersionV1_1 = "v1.1"
// VersionV1_2 - v1.2
VersionV1_2 = "v1.2"
// VersionV2_0 - v2.0
VersionV2_0 = "v2.0"
// VersionV2_1 - v2.1
VersionV2_1 = "v2.1"
)
// SPORT
const (
// SportMLB - baseball
SportMLB = "mlb"
// SportNFL - football
SportNFL = "nfl"
// SportNBA - Basketball
SportNBA = "nba"
// SportNHL - Hockey
SportNHL = "nhl"
)
// RETURN FORMAT
const (
// FormatJSON - returns the format in json
FormatJSON = "json"
// FormatXML - returns the format in xml
FormatXML = "xml"
// FormatCSV - returns the format in csv
FormatCSV = "csv"
)
// SEASON
const (
// SeasonCurrent - current season
SeasonCurrent = "current"
// SeasonLatest - latest season
SeasonLatest = "latest"
// SeasonUpcoming - upcoming season
SeasonUpcoming = "upcoming"
)
// DATE
const (
// DateYesterday -
DateYesterday = "yesterday"
// DateToday -
DateToday = "today"
// DateTomorrow -
DateTomorrow = "tomorrow"
// Date2019Season -
Date2019Season = "2019-regular"
)
// STATUS
const (
// StatusUnplayed - returns games scheduled but not yet started
StatusUnplayed = "unplayed"
// StatusInProgress - returns games currently underway
StatusInProgress = "in-progress"
// StatusPostgameReviewing - returns game is over, but we're reviewing against official sources
StatusPostgameReviewing = "postgame-reviewing"
// StatusFinal - returns game is final and reviewed
StatusFinal = "final"
)