-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchedule.go
53 lines (45 loc) · 1.25 KB
/
Schedule.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
package go_sportradar_football
type DailyResult struct {
Meta
Results []struct {
SportEvent SportEvent `json:"sport_event"`
SportEventStatus SportEventStatus `json:"sport_event_status"`
} `json:"results"`
}
type LiveResult struct {
Meta
Results []struct {
SportEvent SportEvent `json:"sport_event"`
SportEventStatus SportEventStatus `json:"sport_event_status"`
} `json:"results"`
}
type DailySchedule struct {
Meta
SportEvent []SportEvent `json:"sport_events"`
}
type Schedule struct {
Meta
Tournament Tournament `json:"tournament"`
Category Category `json:"category"`
SportEvent []SportEvent `json:"sport_events"`
}
type TournamentRound struct {
Type string `json:"type"`
Number int `json:"number"`
}
type Competitor struct {
BaseTeam
Country string `json:"country"`
CountryCode string `json:"country_code"`
Abbreviation string `json:"abbreviation"`
Qualifier string `json:"qualifier"`
}
type Venue struct {
Id string `json:"id"`
Name string `json:"name"`
Capacity int `json:"capacity"`
CityName string `json:"city_name"`
CountryName string `json:"country_name"`
MapCoordinates string `json:"map_coordinates"`
CountryCode string `json:"country_code"`
}