-
Notifications
You must be signed in to change notification settings - Fork 0
/
Season.go
31 lines (29 loc) · 933 Bytes
/
Season.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
package go_sportradar_football
type Season struct {
Id string `json:"id"`
Name string `json:"name"`
StartDate string `json:"start_date"`
EndDate string `json:"end_date"`
Year string `json:"year"`
}
type SeasonStat struct {
Id string `json:"id"`
Name string `json:"name"`
Statistics struct {
MatchesPlayed int `json:"matches_played"`
MatchesWon int `json:"matches_won"`
MatchesDrawn int `json:"matches_drawn"`
MatchesLost int `json:"matches_lost"`
GoalsScored int `json:"goals_scored"`
GoalsConceded int `json:"goals_conceded"`
GroupPosition int `json:"group_position"`
CupRank int `json:"cup_rank"`
GroupName string `json:"group_name"`
} `json:"statistics"`
Tournament Tournament `json:"tournament"`
Form struct {
Total string `json:"total"`
Home string `json:"home"`
Away string `json:"away"`
} `json:"form"`
}