cricinfo-cli-go 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +63 -0
- package/CONTRIBUTORS.md +75 -0
- package/LICENSE +21 -0
- package/Makefile +131 -0
- package/README.md +130 -0
- package/bin/cricinfo.js +44 -0
- package/cmd/cricinfo/main.go +15 -0
- package/go.mod +10 -0
- package/go.sum +10 -0
- package/internal/app/app.go +11 -0
- package/internal/app/app_test.go +122 -0
- package/internal/buildinfo/buildinfo.go +16 -0
- package/internal/cli/analysis.go +262 -0
- package/internal/cli/analysis_test.go +175 -0
- package/internal/cli/competitions.go +154 -0
- package/internal/cli/competitions_test.go +165 -0
- package/internal/cli/leagues.go +297 -0
- package/internal/cli/leagues_test.go +194 -0
- package/internal/cli/matches.go +403 -0
- package/internal/cli/matches_test.go +413 -0
- package/internal/cli/players.go +263 -0
- package/internal/cli/players_test.go +384 -0
- package/internal/cli/root.go +141 -0
- package/internal/cli/search.go +119 -0
- package/internal/cli/teams.go +214 -0
- package/internal/cli/teams_test.go +192 -0
- package/internal/cricinfo/analysis.go +1401 -0
- package/internal/cricinfo/analysis_phase15_test.go +267 -0
- package/internal/cricinfo/client.go +471 -0
- package/internal/cricinfo/client_test.go +280 -0
- package/internal/cricinfo/cmd/fixture-refresh/main.go +145 -0
- package/internal/cricinfo/competitions.go +405 -0
- package/internal/cricinfo/competitions_phase13_test.go +234 -0
- package/internal/cricinfo/coverage_ledger.go +122 -0
- package/internal/cricinfo/coverage_ledger_test.go +253 -0
- package/internal/cricinfo/decode.go +115 -0
- package/internal/cricinfo/decode_test.go +100 -0
- package/internal/cricinfo/entity_index.go +618 -0
- package/internal/cricinfo/entity_index_test.go +175 -0
- package/internal/cricinfo/fixture_matrix.go +243 -0
- package/internal/cricinfo/fixture_matrix_test.go +49 -0
- package/internal/cricinfo/fixtures_test.go +264 -0
- package/internal/cricinfo/historical_hydration.go +1641 -0
- package/internal/cricinfo/historical_phase14_test.go +542 -0
- package/internal/cricinfo/leagues.go +1210 -0
- package/internal/cricinfo/leagues_phase12_test.go +324 -0
- package/internal/cricinfo/live_leagues_test.go +169 -0
- package/internal/cricinfo/live_matches_test.go +203 -0
- package/internal/cricinfo/live_matrix_test.go +118 -0
- package/internal/cricinfo/live_players_test.go +122 -0
- package/internal/cricinfo/live_search_test.go +86 -0
- package/internal/cricinfo/live_smoke_test.go +213 -0
- package/internal/cricinfo/live_teams_test.go +104 -0
- package/internal/cricinfo/matches.go +1508 -0
- package/internal/cricinfo/matches_phase7_test.go +207 -0
- package/internal/cricinfo/matches_phase9_test.go +253 -0
- package/internal/cricinfo/normalize_entities.go +1727 -0
- package/internal/cricinfo/normalize_leagues.go +346 -0
- package/internal/cricinfo/players.go +1332 -0
- package/internal/cricinfo/players_phase10_test.go +174 -0
- package/internal/cricinfo/players_phase11_test.go +373 -0
- package/internal/cricinfo/render_contract.go +1088 -0
- package/internal/cricinfo/render_phase4_test.go +633 -0
- package/internal/cricinfo/renderer.go +1689 -0
- package/internal/cricinfo/resolver.go +813 -0
- package/internal/cricinfo/resolver_test.go +244 -0
- package/internal/cricinfo/teams.go +603 -0
- package/internal/cricinfo/teams_phase8_test.go +231 -0
- package/internal/cricinfo/testdata/fixtures/README.md +43 -0
- package/internal/cricinfo/testdata/fixtures/aux-competition-metadata/broadcasts.json +11 -0
- package/internal/cricinfo/testdata/fixtures/aux-competition-metadata/officials.json +150 -0
- package/internal/cricinfo/testdata/fixtures/details-plays/detail-110.json +157 -0
- package/internal/cricinfo/testdata/fixtures/details-plays/detail-52545007.json +145 -0
- package/internal/cricinfo/testdata/fixtures/details-plays/detail-52559021.json +143 -0
- package/internal/cricinfo/testdata/fixtures/details-plays/plays.json +15 -0
- package/internal/cricinfo/testdata/fixtures/endpoint-matrix.tsv +19 -0
- package/internal/cricinfo/testdata/fixtures/innings-fow-partnerships/fow-1.json +12 -0
- package/internal/cricinfo/testdata/fixtures/innings-fow-partnerships/fow.json +42 -0
- package/internal/cricinfo/testdata/fixtures/innings-fow-partnerships/innings-1-2.json +38 -0
- package/internal/cricinfo/testdata/fixtures/innings-fow-partnerships/partnership-1.json +31 -0
- package/internal/cricinfo/testdata/fixtures/innings-fow-partnerships/partnerships.json +42 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/calendar-offdays.json +20 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/calendar-ondays.json +21 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/calendar.json +14 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/season-2025.json +13 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/season-group-1.json +13 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/season-groups.json +11 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/season-type-1.json +13 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/season-types.json +11 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/seasons.json +30 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/standings-item-1.json +72 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/standings-root.json +3 -0
- package/internal/cricinfo/testdata/fixtures/leagues-seasons-standings/standings.json +15 -0
- package/internal/cricinfo/testdata/fixtures/matches-competitions/competition.json +460 -0
- package/internal/cricinfo/testdata/fixtures/matches-competitions/event-1529474.json +86 -0
- package/internal/cricinfo/testdata/fixtures/matches-competitions/matchcards-1527966.json +368 -0
- package/internal/cricinfo/testdata/fixtures/matches-competitions/situation-1529474.json +10 -0
- package/internal/cricinfo/testdata/fixtures/players/athlete-1361257-statistics.json +126 -0
- package/internal/cricinfo/testdata/fixtures/players/athlete-1361257.json +113 -0
- package/internal/cricinfo/testdata/fixtures/players/roster-1361257-linescores-1-1-statistics-0.json +208 -0
- package/internal/cricinfo/testdata/fixtures/players/roster-1361257-linescores-1-2-statistics-0.json +252 -0
- package/internal/cricinfo/testdata/fixtures/players/roster-1361257-linescores.json +74 -0
- package/internal/cricinfo/testdata/fixtures/players/roster-1361257-statistics-0.json +1008 -0
- package/internal/cricinfo/testdata/fixtures/root-discovery/events.json +72 -0
- package/internal/cricinfo/testdata/fixtures/root-discovery/root.json +28 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/competitor-789643.json +40 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/leaders-789643.json +353 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/records-789643.json +91 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/roster-1147772-object.json +231 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/roster-1147772.json +235 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/roster-789643.json +322 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/scores-789643.json +19 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/statistics-789643.json +629 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/team-789643-athletes.json +7 -0
- package/internal/cricinfo/testdata/fixtures/team-competitor/team-789643.json +67 -0
- package/internal/cricinfo/testdata/golden/match-empty.golden +1 -0
- package/internal/cricinfo/testdata/golden/match-list.golden +2 -0
- package/internal/cricinfo/testdata/golden/match-partial.golden +3 -0
- package/internal/cricinfo/types.go +54 -0
- package/package.json +51 -0
- package/scripts/postinstall.js +153 -0
package/internal/cricinfo/testdata/fixtures/players/roster-1361257-linescores-1-1-statistics-0.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/1/statistics/0",
|
|
4
|
+
"competition":{
|
|
5
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474"
|
|
6
|
+
},
|
|
7
|
+
"athlete":{
|
|
8
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/athletes/1361257"
|
|
9
|
+
},
|
|
10
|
+
"splits":{
|
|
11
|
+
"id":"0",
|
|
12
|
+
"name":"Total",
|
|
13
|
+
"abbreviation":"Total",
|
|
14
|
+
"categories":[{
|
|
15
|
+
"name":"general",
|
|
16
|
+
"displayName":"General",
|
|
17
|
+
"shortDisplayName":"General",
|
|
18
|
+
"abbreviation":"gen",
|
|
19
|
+
"stats":[{
|
|
20
|
+
"name":"ballsFaced",
|
|
21
|
+
"displayName":"Balls Faced",
|
|
22
|
+
"shortDisplayName":"BF",
|
|
23
|
+
"description":"Balls Faced",
|
|
24
|
+
"abbreviation":"BF",
|
|
25
|
+
"value":60,
|
|
26
|
+
"displayValue":"60"
|
|
27
|
+
},{
|
|
28
|
+
"name":"batted",
|
|
29
|
+
"displayName":"Batted",
|
|
30
|
+
"shortDisplayName":"B",
|
|
31
|
+
"description":"Batted",
|
|
32
|
+
"abbreviation":"B",
|
|
33
|
+
"value":1,
|
|
34
|
+
"displayValue":"1"
|
|
35
|
+
},{
|
|
36
|
+
"name":"battingPosition",
|
|
37
|
+
"displayName":"Batting Position",
|
|
38
|
+
"shortDisplayName":"BP",
|
|
39
|
+
"description":"Batting Position",
|
|
40
|
+
"abbreviation":"BP",
|
|
41
|
+
"value":1,
|
|
42
|
+
"displayValue":"1"
|
|
43
|
+
},{
|
|
44
|
+
"name":"dismissal",
|
|
45
|
+
"displayName":"Dismissal",
|
|
46
|
+
"shortDisplayName":"D",
|
|
47
|
+
"description":"Dismissal",
|
|
48
|
+
"abbreviation":"D",
|
|
49
|
+
"value":1,
|
|
50
|
+
"displayValue":"1"
|
|
51
|
+
},{
|
|
52
|
+
"name":"dismissalCard",
|
|
53
|
+
"displayName":"Dismissal Card",
|
|
54
|
+
"shortDisplayName":"DC",
|
|
55
|
+
"description":"Dismissal Card",
|
|
56
|
+
"abbreviation":"DC",
|
|
57
|
+
"value":"c",
|
|
58
|
+
"displayValue":"c"
|
|
59
|
+
},{
|
|
60
|
+
"name":"ducks",
|
|
61
|
+
"displayName":"Ducks",
|
|
62
|
+
"shortDisplayName":"D",
|
|
63
|
+
"description":"Ducks",
|
|
64
|
+
"abbreviation":"D",
|
|
65
|
+
"value":0,
|
|
66
|
+
"displayValue":"0"
|
|
67
|
+
},{
|
|
68
|
+
"name":"fielderKeeper",
|
|
69
|
+
"displayName":"Fielder Keeper",
|
|
70
|
+
"shortDisplayName":"FK",
|
|
71
|
+
"description":"Fielder Keeper",
|
|
72
|
+
"abbreviation":"FK",
|
|
73
|
+
"value":0,
|
|
74
|
+
"displayValue":"0"
|
|
75
|
+
},{
|
|
76
|
+
"name":"fielderSub",
|
|
77
|
+
"displayName":"Fielder Sub",
|
|
78
|
+
"shortDisplayName":"FS",
|
|
79
|
+
"description":"Fielder Sub",
|
|
80
|
+
"abbreviation":"FS",
|
|
81
|
+
"value":0,
|
|
82
|
+
"displayValue":"0"
|
|
83
|
+
},{
|
|
84
|
+
"name":"fiftyPlus",
|
|
85
|
+
"displayName":"Fifty Plus",
|
|
86
|
+
"shortDisplayName":"FP",
|
|
87
|
+
"description":"Fifty Plus",
|
|
88
|
+
"abbreviation":"FP",
|
|
89
|
+
"value":0,
|
|
90
|
+
"displayValue":"0"
|
|
91
|
+
},{
|
|
92
|
+
"name":"fours",
|
|
93
|
+
"displayName":"Fours",
|
|
94
|
+
"shortDisplayName":"F",
|
|
95
|
+
"description":"Fours",
|
|
96
|
+
"abbreviation":"F",
|
|
97
|
+
"value":5,
|
|
98
|
+
"displayValue":"5"
|
|
99
|
+
},{
|
|
100
|
+
"name":"hundreds",
|
|
101
|
+
"displayName":"Hundreds",
|
|
102
|
+
"shortDisplayName":"H",
|
|
103
|
+
"description":"Hundreds",
|
|
104
|
+
"abbreviation":"H",
|
|
105
|
+
"value":0,
|
|
106
|
+
"displayValue":"0"
|
|
107
|
+
},{
|
|
108
|
+
"name":"innings",
|
|
109
|
+
"displayName":"Innings",
|
|
110
|
+
"shortDisplayName":"I",
|
|
111
|
+
"description":"Innings",
|
|
112
|
+
"abbreviation":"I",
|
|
113
|
+
"value":1,
|
|
114
|
+
"displayValue":"1"
|
|
115
|
+
},{
|
|
116
|
+
"name":"inningsNumber",
|
|
117
|
+
"displayName":"Innings Number",
|
|
118
|
+
"shortDisplayName":"IN",
|
|
119
|
+
"description":"Innings Number",
|
|
120
|
+
"abbreviation":"IN",
|
|
121
|
+
"value":1,
|
|
122
|
+
"displayValue":"1"
|
|
123
|
+
},{
|
|
124
|
+
"name":"minutes",
|
|
125
|
+
"displayName":"Minutes",
|
|
126
|
+
"shortDisplayName":"M",
|
|
127
|
+
"description":"Minutes",
|
|
128
|
+
"abbreviation":"M",
|
|
129
|
+
"value":92,
|
|
130
|
+
"displayValue":"92"
|
|
131
|
+
},{
|
|
132
|
+
"name":"notouts",
|
|
133
|
+
"displayName":"Notouts",
|
|
134
|
+
"shortDisplayName":"N",
|
|
135
|
+
"description":"Notouts",
|
|
136
|
+
"abbreviation":"N",
|
|
137
|
+
"value":0,
|
|
138
|
+
"displayValue":"0"
|
|
139
|
+
},{
|
|
140
|
+
"name":"outs",
|
|
141
|
+
"displayName":"Outs",
|
|
142
|
+
"shortDisplayName":"O",
|
|
143
|
+
"description":"Outs",
|
|
144
|
+
"abbreviation":"O",
|
|
145
|
+
"value":1,
|
|
146
|
+
"displayValue":"1"
|
|
147
|
+
},{
|
|
148
|
+
"name":"retiredDescription",
|
|
149
|
+
"displayName":"Retired Description",
|
|
150
|
+
"shortDisplayName":"RD",
|
|
151
|
+
"description":"Retired Description",
|
|
152
|
+
"abbreviation":"RD",
|
|
153
|
+
"value":0,
|
|
154
|
+
"displayValue":""
|
|
155
|
+
},{
|
|
156
|
+
"name":"runs",
|
|
157
|
+
"displayName":"Runs",
|
|
158
|
+
"shortDisplayName":"R",
|
|
159
|
+
"description":"Runs",
|
|
160
|
+
"abbreviation":"R",
|
|
161
|
+
"value":33,
|
|
162
|
+
"displayValue":"33"
|
|
163
|
+
},{
|
|
164
|
+
"name":"sixes",
|
|
165
|
+
"displayName":"Sixes",
|
|
166
|
+
"shortDisplayName":"S",
|
|
167
|
+
"description":"Sixes",
|
|
168
|
+
"abbreviation":"S",
|
|
169
|
+
"value":0,
|
|
170
|
+
"displayValue":"0"
|
|
171
|
+
},{
|
|
172
|
+
"name":"strikeRate",
|
|
173
|
+
"displayName":"Strike Rate",
|
|
174
|
+
"shortDisplayName":"SR",
|
|
175
|
+
"description":"Strike Rate",
|
|
176
|
+
"abbreviation":"SR",
|
|
177
|
+
"value":55,
|
|
178
|
+
"displayValue":"55"
|
|
179
|
+
}]
|
|
180
|
+
}] ,
|
|
181
|
+
|
|
182
|
+
"batting":{
|
|
183
|
+
"active":false,
|
|
184
|
+
"activeName":"",
|
|
185
|
+
"order":1,
|
|
186
|
+
"outDetails":{"bowler":{"$ref":"http://core.espnuk.org/v2/sports/cricket/athletes/1436502","displayName":"Qamar Shams","firstName":"Qamar","fullName":"Qamar Shams","id":"1436502","lastName":"Shams"},"details":{"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474/details/52548087"},"dismissalCard":"c","fielders":[{"athlete":{"$ref":"http://core.espnuk.org/v2/sports/cricket/athletes/1461324","displayName":"Jalat Khan","firstName":"Jalat","fullName":"Jalat Khan Mousa Zai","id":"1461324","lastName":"Zai"},"displayOrder":0,"isKeeper":0,"isSubstitute":0}],"shortText":"c Jalat Khan b Qamar Shams"},
|
|
187
|
+
"pvp":{
|
|
188
|
+
"balls":0,
|
|
189
|
+
"runs":0
|
|
190
|
+
},
|
|
191
|
+
"runsSummary":["45","7","3","0","5","0","0","0"],
|
|
192
|
+
"dotBallPercentage":75,
|
|
193
|
+
"battingRecent":{
|
|
194
|
+
"balls":12,
|
|
195
|
+
"overSpan":10,
|
|
196
|
+
"runs":5
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
"scoringShots": 15
|
|
200
|
+
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
package/internal/cricinfo/testdata/fixtures/players/roster-1361257-linescores-1-2-statistics-0.json
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/2/statistics/0",
|
|
4
|
+
"competition":{
|
|
5
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474"
|
|
6
|
+
},
|
|
7
|
+
"athlete":{
|
|
8
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/athletes/1361257"
|
|
9
|
+
},
|
|
10
|
+
"splits":{
|
|
11
|
+
"id":"0",
|
|
12
|
+
"name":"Total",
|
|
13
|
+
"abbreviation":"Total",
|
|
14
|
+
"categories":[{
|
|
15
|
+
"name":"general",
|
|
16
|
+
"displayName":"General",
|
|
17
|
+
"shortDisplayName":"General",
|
|
18
|
+
"abbreviation":"gen",
|
|
19
|
+
"stats":[{
|
|
20
|
+
"name":"balls",
|
|
21
|
+
"displayName":"Balls",
|
|
22
|
+
"shortDisplayName":"B",
|
|
23
|
+
"description":"Balls",
|
|
24
|
+
"abbreviation":"B",
|
|
25
|
+
"value":24,
|
|
26
|
+
"displayValue":"24"
|
|
27
|
+
},{
|
|
28
|
+
"name":"bowled",
|
|
29
|
+
"displayName":"Bowled",
|
|
30
|
+
"shortDisplayName":"B",
|
|
31
|
+
"description":"Bowled",
|
|
32
|
+
"abbreviation":"B",
|
|
33
|
+
"value":1,
|
|
34
|
+
"displayValue":"1"
|
|
35
|
+
},{
|
|
36
|
+
"name":"bowlingPosition",
|
|
37
|
+
"displayName":"Bowling Position",
|
|
38
|
+
"shortDisplayName":"BP",
|
|
39
|
+
"description":"Bowling Position",
|
|
40
|
+
"abbreviation":"BP",
|
|
41
|
+
"value":6,
|
|
42
|
+
"displayValue":"6"
|
|
43
|
+
},{
|
|
44
|
+
"name":"bpo",
|
|
45
|
+
"displayName":"Bpo",
|
|
46
|
+
"shortDisplayName":"bpo",
|
|
47
|
+
"description":"Bpo",
|
|
48
|
+
"abbreviation":"bpo",
|
|
49
|
+
"value":6,
|
|
50
|
+
"displayValue":"6"
|
|
51
|
+
},{
|
|
52
|
+
"name":"caught",
|
|
53
|
+
"displayName":"Caught",
|
|
54
|
+
"shortDisplayName":"C",
|
|
55
|
+
"description":"Caught",
|
|
56
|
+
"abbreviation":"C",
|
|
57
|
+
"value":0,
|
|
58
|
+
"displayValue":"0"
|
|
59
|
+
},{
|
|
60
|
+
"name":"caughtFielder",
|
|
61
|
+
"displayName":"Caught Fielder",
|
|
62
|
+
"shortDisplayName":"CF",
|
|
63
|
+
"description":"Caught Fielder",
|
|
64
|
+
"abbreviation":"CF",
|
|
65
|
+
"value":0,
|
|
66
|
+
"displayValue":"0"
|
|
67
|
+
},{
|
|
68
|
+
"name":"caughtKeeper",
|
|
69
|
+
"displayName":"Caught Keeper",
|
|
70
|
+
"shortDisplayName":"CK",
|
|
71
|
+
"description":"Caught Keeper",
|
|
72
|
+
"abbreviation":"CK",
|
|
73
|
+
"value":0,
|
|
74
|
+
"displayValue":"0"
|
|
75
|
+
},{
|
|
76
|
+
"name":"conceded",
|
|
77
|
+
"displayName":"Conceded",
|
|
78
|
+
"shortDisplayName":"C",
|
|
79
|
+
"description":"Conceded",
|
|
80
|
+
"abbreviation":"C",
|
|
81
|
+
"value":5,
|
|
82
|
+
"displayValue":"5"
|
|
83
|
+
},{
|
|
84
|
+
"name":"dismissals",
|
|
85
|
+
"displayName":"Dismissals",
|
|
86
|
+
"shortDisplayName":"D",
|
|
87
|
+
"description":"Dismissals",
|
|
88
|
+
"abbreviation":"D",
|
|
89
|
+
"value":0,
|
|
90
|
+
"displayValue":"0"
|
|
91
|
+
},{
|
|
92
|
+
"name":"dots",
|
|
93
|
+
"displayName":"Dots",
|
|
94
|
+
"shortDisplayName":"D",
|
|
95
|
+
"description":"Dots",
|
|
96
|
+
"abbreviation":"D",
|
|
97
|
+
"value":0,
|
|
98
|
+
"displayValue":""
|
|
99
|
+
},{
|
|
100
|
+
"name":"economyRate",
|
|
101
|
+
"displayName":"Economy Rate",
|
|
102
|
+
"shortDisplayName":"ER",
|
|
103
|
+
"description":"Economy Rate",
|
|
104
|
+
"abbreviation":"ER",
|
|
105
|
+
"value":1.25,
|
|
106
|
+
"displayValue":"1.25"
|
|
107
|
+
},{
|
|
108
|
+
"name":"fielded",
|
|
109
|
+
"displayName":"Fielded",
|
|
110
|
+
"shortDisplayName":"F",
|
|
111
|
+
"description":"Fielded",
|
|
112
|
+
"abbreviation":"F",
|
|
113
|
+
"value":1,
|
|
114
|
+
"displayValue":"1"
|
|
115
|
+
},{
|
|
116
|
+
"name":"fiveWickets",
|
|
117
|
+
"displayName":"Five Wickets",
|
|
118
|
+
"shortDisplayName":"FW",
|
|
119
|
+
"description":"Five Wickets",
|
|
120
|
+
"abbreviation":"FW",
|
|
121
|
+
"value":0,
|
|
122
|
+
"displayValue":"0"
|
|
123
|
+
},{
|
|
124
|
+
"name":"fourPlusWickets",
|
|
125
|
+
"displayName":"Four Plus Wickets",
|
|
126
|
+
"shortDisplayName":"FPW",
|
|
127
|
+
"description":"Four Plus Wickets",
|
|
128
|
+
"abbreviation":"FPW",
|
|
129
|
+
"value":0,
|
|
130
|
+
"displayValue":"0"
|
|
131
|
+
},{
|
|
132
|
+
"name":"foursConceded",
|
|
133
|
+
"displayName":"Fours Conceded",
|
|
134
|
+
"shortDisplayName":"FC",
|
|
135
|
+
"description":"Fours Conceded",
|
|
136
|
+
"abbreviation":"FC",
|
|
137
|
+
"value":0,
|
|
138
|
+
"displayValue":""
|
|
139
|
+
},{
|
|
140
|
+
"name":"illegalOverLimit",
|
|
141
|
+
"displayName":"Illegal Over Limit",
|
|
142
|
+
"shortDisplayName":"IOL",
|
|
143
|
+
"description":"Illegal Over Limit",
|
|
144
|
+
"abbreviation":"IOL",
|
|
145
|
+
"value":0,
|
|
146
|
+
"displayValue":"0"
|
|
147
|
+
},{
|
|
148
|
+
"name":"inningsBowled",
|
|
149
|
+
"displayName":"Innings Bowled",
|
|
150
|
+
"shortDisplayName":"IB",
|
|
151
|
+
"description":"Innings Bowled",
|
|
152
|
+
"abbreviation":"IB",
|
|
153
|
+
"value":1,
|
|
154
|
+
"displayValue":"1"
|
|
155
|
+
},{
|
|
156
|
+
"name":"inningsFielded",
|
|
157
|
+
"displayName":"Innings Fielded",
|
|
158
|
+
"shortDisplayName":"IF",
|
|
159
|
+
"description":"Innings Fielded",
|
|
160
|
+
"abbreviation":"IF",
|
|
161
|
+
"value":1,
|
|
162
|
+
"displayValue":"1"
|
|
163
|
+
},{
|
|
164
|
+
"name":"inningsNumber",
|
|
165
|
+
"displayName":"Innings Number",
|
|
166
|
+
"shortDisplayName":"IN",
|
|
167
|
+
"description":"Innings Number",
|
|
168
|
+
"abbreviation":"IN",
|
|
169
|
+
"value":2,
|
|
170
|
+
"displayValue":"2"
|
|
171
|
+
},{
|
|
172
|
+
"name":"maidens",
|
|
173
|
+
"displayName":"Maidens",
|
|
174
|
+
"shortDisplayName":"M",
|
|
175
|
+
"description":"Maidens",
|
|
176
|
+
"abbreviation":"M",
|
|
177
|
+
"value":2,
|
|
178
|
+
"displayValue":"2"
|
|
179
|
+
},{
|
|
180
|
+
"name":"noballs",
|
|
181
|
+
"displayName":"Noballs",
|
|
182
|
+
"shortDisplayName":"N",
|
|
183
|
+
"description":"Noballs",
|
|
184
|
+
"abbreviation":"N",
|
|
185
|
+
"value":0,
|
|
186
|
+
"displayValue":"0"
|
|
187
|
+
},{
|
|
188
|
+
"name":"overs",
|
|
189
|
+
"displayName":"Overs",
|
|
190
|
+
"shortDisplayName":"O",
|
|
191
|
+
"description":"Overs",
|
|
192
|
+
"abbreviation":"O",
|
|
193
|
+
"value":4,
|
|
194
|
+
"displayValue":"4"
|
|
195
|
+
},{
|
|
196
|
+
"name":"sixesConceded",
|
|
197
|
+
"displayName":"Sixes Conceded",
|
|
198
|
+
"shortDisplayName":"SC",
|
|
199
|
+
"description":"Sixes Conceded",
|
|
200
|
+
"abbreviation":"SC",
|
|
201
|
+
"value":0,
|
|
202
|
+
"displayValue":""
|
|
203
|
+
},{
|
|
204
|
+
"name":"stumped",
|
|
205
|
+
"displayName":"Stumped",
|
|
206
|
+
"shortDisplayName":"S",
|
|
207
|
+
"description":"Stumped",
|
|
208
|
+
"abbreviation":"S",
|
|
209
|
+
"value":0,
|
|
210
|
+
"displayValue":"0"
|
|
211
|
+
},{
|
|
212
|
+
"name":"tenWickets",
|
|
213
|
+
"displayName":"Ten Wickets",
|
|
214
|
+
"shortDisplayName":"TW",
|
|
215
|
+
"description":"Ten Wickets",
|
|
216
|
+
"abbreviation":"TW",
|
|
217
|
+
"value":0,
|
|
218
|
+
"displayValue":""
|
|
219
|
+
},{
|
|
220
|
+
"name":"wickets",
|
|
221
|
+
"displayName":"Wickets",
|
|
222
|
+
"shortDisplayName":"W",
|
|
223
|
+
"description":"Wickets",
|
|
224
|
+
"abbreviation":"W",
|
|
225
|
+
"value":0,
|
|
226
|
+
"displayValue":"0"
|
|
227
|
+
},{
|
|
228
|
+
"name":"wides",
|
|
229
|
+
"displayName":"Wides",
|
|
230
|
+
"shortDisplayName":"W",
|
|
231
|
+
"description":"Wides",
|
|
232
|
+
"abbreviation":"W",
|
|
233
|
+
"value":0,
|
|
234
|
+
"displayValue":"0"
|
|
235
|
+
}]
|
|
236
|
+
}] ,
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
"bowling":{
|
|
240
|
+
"active":false,
|
|
241
|
+
"activeName":"",
|
|
242
|
+
"order":6
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"count":3,
|
|
4
|
+
"pageIndex":1,
|
|
5
|
+
"pageSize":300,
|
|
6
|
+
"pageCount":1,
|
|
7
|
+
"items":[
|
|
8
|
+
{
|
|
9
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/linescores/1/1",
|
|
10
|
+
|
|
11
|
+
"period": 1,
|
|
12
|
+
"value": 1,
|
|
13
|
+
"displayValue": 1,
|
|
14
|
+
"isBatting":true,
|
|
15
|
+
"order":1,
|
|
16
|
+
"mediaId": 0,
|
|
17
|
+
"linescores":[
|
|
18
|
+
{
|
|
19
|
+
"order":1,
|
|
20
|
+
"mediaId": 0,
|
|
21
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/1/statistics/0"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/1/statistics/0"
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
,
|
|
29
|
+
{
|
|
30
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/linescores/1/2",
|
|
31
|
+
|
|
32
|
+
"period": 2,
|
|
33
|
+
"value": 2,
|
|
34
|
+
"displayValue": 2,
|
|
35
|
+
"isBatting":false,
|
|
36
|
+
"order":6,
|
|
37
|
+
"mediaId": 0,
|
|
38
|
+
"linescores":[
|
|
39
|
+
{
|
|
40
|
+
"order":6,
|
|
41
|
+
"mediaId": 0,
|
|
42
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/2/statistics/0"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/2/statistics/0"
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
,
|
|
50
|
+
{
|
|
51
|
+
"$ref":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/linescores/1/3",
|
|
52
|
+
|
|
53
|
+
"period": 3,
|
|
54
|
+
"value": 3,
|
|
55
|
+
"displayValue": 3,
|
|
56
|
+
"isBatting":true,
|
|
57
|
+
"order":3,
|
|
58
|
+
"mediaId": 0,
|
|
59
|
+
"linescores":[
|
|
60
|
+
{
|
|
61
|
+
"order":3,
|
|
62
|
+
"mediaId": 0,
|
|
63
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/3/statistics/0"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"statistics":"http://core.espnuk.org/v2/sports/cricket/leagues/1174248/events/1529474/competitions/1529474/competitors/789643/roster/1361257/linescores/1/3/statistics/0"
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|