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
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"count":3,
|
|
4
|
+
"pageIndex":1,
|
|
5
|
+
"pageSize":25,
|
|
6
|
+
"pageCount":1,
|
|
7
|
+
"items":[
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
"extras":"(b 5, lb 3, w 5, nb 1)",
|
|
11
|
+
"total":"(all out; 49.5 ovs)",
|
|
12
|
+
"runs":"220",
|
|
13
|
+
"typeID":"11",
|
|
14
|
+
"inningsNumber":"2",
|
|
15
|
+
"teamName":"Koshi",
|
|
16
|
+
"headline":"Batting",
|
|
17
|
+
"playerDetails":[
|
|
18
|
+
{
|
|
19
|
+
"playerID":"1528895",
|
|
20
|
+
"playerName":"Suman Shrestha",
|
|
21
|
+
"dismissal":"bowled",
|
|
22
|
+
"runs":"65",
|
|
23
|
+
"ballsFaced":"132",
|
|
24
|
+
"fours":"5",
|
|
25
|
+
"sixes":"0",
|
|
26
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1528895.html"
|
|
27
|
+
}
|
|
28
|
+
,
|
|
29
|
+
{
|
|
30
|
+
"playerID":"1098914",
|
|
31
|
+
"playerName":"A Subedi",
|
|
32
|
+
"dismissal":"caught",
|
|
33
|
+
"runs":"72",
|
|
34
|
+
"ballsFaced":"67",
|
|
35
|
+
"fours":"11",
|
|
36
|
+
"sixes":"1",
|
|
37
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1098914.html"
|
|
38
|
+
}
|
|
39
|
+
,
|
|
40
|
+
{
|
|
41
|
+
"playerID":"1528444",
|
|
42
|
+
"playerName":"S Bajgain",
|
|
43
|
+
"dismissal":"caught",
|
|
44
|
+
"runs":"0",
|
|
45
|
+
"ballsFaced":"3",
|
|
46
|
+
"fours":"0",
|
|
47
|
+
"sixes":"0",
|
|
48
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1528444.html"
|
|
49
|
+
}
|
|
50
|
+
,
|
|
51
|
+
{
|
|
52
|
+
"playerID":"1211612",
|
|
53
|
+
"playerName":"S Thapaliya",
|
|
54
|
+
"dismissal":"caught",
|
|
55
|
+
"runs":"2",
|
|
56
|
+
"ballsFaced":"14",
|
|
57
|
+
"fours":"0",
|
|
58
|
+
"sixes":"0",
|
|
59
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1211612.html"
|
|
60
|
+
}
|
|
61
|
+
,
|
|
62
|
+
{
|
|
63
|
+
"playerID":"1530449",
|
|
64
|
+
"playerName":"Rohan Shah",
|
|
65
|
+
"dismissal":"bowled",
|
|
66
|
+
"runs":"32",
|
|
67
|
+
"ballsFaced":"32",
|
|
68
|
+
"fours":"1",
|
|
69
|
+
"sixes":"3",
|
|
70
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1530449.html"
|
|
71
|
+
}
|
|
72
|
+
,
|
|
73
|
+
{
|
|
74
|
+
"playerID":"1147921",
|
|
75
|
+
"playerName":"S Karki",
|
|
76
|
+
"dismissal":"lbw",
|
|
77
|
+
"runs":"4",
|
|
78
|
+
"ballsFaced":"5",
|
|
79
|
+
"fours":"0",
|
|
80
|
+
"sixes":"0",
|
|
81
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1147921.html"
|
|
82
|
+
}
|
|
83
|
+
,
|
|
84
|
+
{
|
|
85
|
+
"playerID":"1129974",
|
|
86
|
+
"playerName":"D Kandel",
|
|
87
|
+
"dismissal":"run out",
|
|
88
|
+
"runs":"4",
|
|
89
|
+
"ballsFaced":"7",
|
|
90
|
+
"fours":"0",
|
|
91
|
+
"sixes":"0",
|
|
92
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1129974.html"
|
|
93
|
+
}
|
|
94
|
+
,
|
|
95
|
+
{
|
|
96
|
+
"playerID":"1346340",
|
|
97
|
+
"playerName":"AR Magar",
|
|
98
|
+
"dismissal":"caught",
|
|
99
|
+
"runs":"17",
|
|
100
|
+
"ballsFaced":"23",
|
|
101
|
+
"fours":"2",
|
|
102
|
+
"sixes":"0",
|
|
103
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1346340.html"
|
|
104
|
+
}
|
|
105
|
+
,
|
|
106
|
+
{
|
|
107
|
+
"playerID":"1528443",
|
|
108
|
+
"playerName":"PKH Rai",
|
|
109
|
+
"dismissal":"not out",
|
|
110
|
+
"runs":"9",
|
|
111
|
+
"ballsFaced":"13",
|
|
112
|
+
"fours":"1",
|
|
113
|
+
"sixes":"0",
|
|
114
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1528443.html"
|
|
115
|
+
}
|
|
116
|
+
,
|
|
117
|
+
{
|
|
118
|
+
"playerID":"1346123",
|
|
119
|
+
"playerName":"BK Mahato",
|
|
120
|
+
"dismissal":"run out",
|
|
121
|
+
"runs":"1",
|
|
122
|
+
"ballsFaced":"3",
|
|
123
|
+
"fours":"0",
|
|
124
|
+
"sixes":"0",
|
|
125
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1346123.html"
|
|
126
|
+
}
|
|
127
|
+
,
|
|
128
|
+
{
|
|
129
|
+
"playerID":"1247960",
|
|
130
|
+
"playerName":"G Shrestha",
|
|
131
|
+
"dismissal":"bowled",
|
|
132
|
+
"runs":"0",
|
|
133
|
+
"ballsFaced":"1",
|
|
134
|
+
"fours":"0",
|
|
135
|
+
"sixes":"0",
|
|
136
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1247960.html"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
,
|
|
142
|
+
|
|
143
|
+
{
|
|
144
|
+
"headline":"Bowling",
|
|
145
|
+
"typeID":"12",
|
|
146
|
+
"inningsNumber":"2",
|
|
147
|
+
"teamName":"Armed Police",
|
|
148
|
+
"playerDetails":[
|
|
149
|
+
{
|
|
150
|
+
"playerID":"1072482",
|
|
151
|
+
"playerName":"KS Airee",
|
|
152
|
+
"overs":"7.1",
|
|
153
|
+
"maidens":"1",
|
|
154
|
+
"conceded":"21",
|
|
155
|
+
"wickets":"0",
|
|
156
|
+
"economyRate":"2.93",
|
|
157
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1072482.html",
|
|
158
|
+
"nbw":"(2w)"
|
|
159
|
+
}
|
|
160
|
+
,
|
|
161
|
+
{
|
|
162
|
+
"playerID":"1290591",
|
|
163
|
+
"playerName":"A Gautam",
|
|
164
|
+
"overs":"10.0",
|
|
165
|
+
"maidens":"1",
|
|
166
|
+
"conceded":"41",
|
|
167
|
+
"wickets":"4",
|
|
168
|
+
"economyRate":"4.1",
|
|
169
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1290591.html",
|
|
170
|
+
"nbw":""
|
|
171
|
+
}
|
|
172
|
+
,
|
|
173
|
+
{
|
|
174
|
+
"playerID":"446812",
|
|
175
|
+
"playerName":"B Karki",
|
|
176
|
+
"overs":"10.0",
|
|
177
|
+
"maidens":"1",
|
|
178
|
+
"conceded":"44",
|
|
179
|
+
"wickets":"1",
|
|
180
|
+
"economyRate":"4.4",
|
|
181
|
+
"href":"http://www.espncricinfo.com/ci/content/player/446812.html",
|
|
182
|
+
"nbw":"(2w)"
|
|
183
|
+
}
|
|
184
|
+
,
|
|
185
|
+
{
|
|
186
|
+
"playerID":"1332891",
|
|
187
|
+
"playerName":"Y Khatri",
|
|
188
|
+
"overs":"6.0",
|
|
189
|
+
"maidens":"0",
|
|
190
|
+
"conceded":"41",
|
|
191
|
+
"wickets":"0",
|
|
192
|
+
"economyRate":"6.83",
|
|
193
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1332891.html",
|
|
194
|
+
"nbw":""
|
|
195
|
+
}
|
|
196
|
+
,
|
|
197
|
+
{
|
|
198
|
+
"playerID":"1072488",
|
|
199
|
+
"playerName":"RK Paudel",
|
|
200
|
+
"overs":"9.5",
|
|
201
|
+
"maidens":"1",
|
|
202
|
+
"conceded":"44",
|
|
203
|
+
"wickets":"2",
|
|
204
|
+
"economyRate":"4.47",
|
|
205
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1072488.html",
|
|
206
|
+
"nbw":""
|
|
207
|
+
}
|
|
208
|
+
,
|
|
209
|
+
{
|
|
210
|
+
"playerID":"1058497",
|
|
211
|
+
"playerName":"AS Routela",
|
|
212
|
+
"overs":"6.5",
|
|
213
|
+
"maidens":"0",
|
|
214
|
+
"conceded":"21",
|
|
215
|
+
"wickets":"1",
|
|
216
|
+
"economyRate":"3.07",
|
|
217
|
+
"href":"http://www.espncricinfo.com/ci/content/player/1058497.html",
|
|
218
|
+
"nbw":"(1nb, 1w)"
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
,
|
|
224
|
+
|
|
225
|
+
{
|
|
226
|
+
"headline":"Partnerships",
|
|
227
|
+
"typeID":"13",
|
|
228
|
+
"inningsNumber":"2",
|
|
229
|
+
"teamName":"Koshi",
|
|
230
|
+
"playerDetails":[
|
|
231
|
+
{
|
|
232
|
+
"partnershipRuns":"122",
|
|
233
|
+
"partnershipOvers":"25.3",
|
|
234
|
+
"fowType":"",
|
|
235
|
+
"partnershipWicketName":"1st",
|
|
236
|
+
"partnershipRuns":"122",
|
|
237
|
+
"fowType":"",
|
|
238
|
+
"player2Name":"Suman Shrestha",
|
|
239
|
+
"player2Runs":"",
|
|
240
|
+
"player1Name":"A Subedi",
|
|
241
|
+
"player1Runs":""
|
|
242
|
+
}
|
|
243
|
+
,
|
|
244
|
+
{
|
|
245
|
+
"partnershipRuns":"0",
|
|
246
|
+
"partnershipOvers":"0.3",
|
|
247
|
+
"fowType":"",
|
|
248
|
+
"partnershipWicketName":"2nd",
|
|
249
|
+
"partnershipRuns":"0",
|
|
250
|
+
"fowType":"",
|
|
251
|
+
"player2Name":"Suman Shrestha",
|
|
252
|
+
"player2Runs":"",
|
|
253
|
+
"player1Name":"S Bajgain",
|
|
254
|
+
"player1Runs":""
|
|
255
|
+
}
|
|
256
|
+
,
|
|
257
|
+
{
|
|
258
|
+
"partnershipRuns":"6",
|
|
259
|
+
"partnershipOvers":"4.4",
|
|
260
|
+
"fowType":"",
|
|
261
|
+
"partnershipWicketName":"3rd",
|
|
262
|
+
"partnershipRuns":"6",
|
|
263
|
+
"fowType":"",
|
|
264
|
+
"player2Name":"Suman Shrestha",
|
|
265
|
+
"player2Runs":"",
|
|
266
|
+
"player1Name":"S Thapaliya",
|
|
267
|
+
"player1Runs":""
|
|
268
|
+
}
|
|
269
|
+
,
|
|
270
|
+
{
|
|
271
|
+
"partnershipRuns":"56",
|
|
272
|
+
"partnershipOvers":"10.3",
|
|
273
|
+
"fowType":"",
|
|
274
|
+
"partnershipWicketName":"4th",
|
|
275
|
+
"partnershipRuns":"56",
|
|
276
|
+
"fowType":"",
|
|
277
|
+
"player2Name":"Rohan Shah",
|
|
278
|
+
"player2Runs":"",
|
|
279
|
+
"player1Name":"Suman Shrestha",
|
|
280
|
+
"player1Runs":""
|
|
281
|
+
}
|
|
282
|
+
,
|
|
283
|
+
{
|
|
284
|
+
"partnershipRuns":"3",
|
|
285
|
+
"partnershipOvers":"0.4",
|
|
286
|
+
"fowType":"",
|
|
287
|
+
"partnershipWicketName":"5th",
|
|
288
|
+
"partnershipRuns":"3",
|
|
289
|
+
"fowType":"",
|
|
290
|
+
"player2Name":"Rohan Shah",
|
|
291
|
+
"player2Runs":"",
|
|
292
|
+
"player1Name":"S Karki",
|
|
293
|
+
"player1Runs":""
|
|
294
|
+
}
|
|
295
|
+
,
|
|
296
|
+
{
|
|
297
|
+
"partnershipRuns":"2",
|
|
298
|
+
"partnershipOvers":"0.4",
|
|
299
|
+
"fowType":"",
|
|
300
|
+
"partnershipWicketName":"6th",
|
|
301
|
+
"partnershipRuns":"2",
|
|
302
|
+
"fowType":"",
|
|
303
|
+
"player2Name":"S Karki",
|
|
304
|
+
"player2Runs":"",
|
|
305
|
+
"player1Name":"D Kandel",
|
|
306
|
+
"player1Runs":""
|
|
307
|
+
}
|
|
308
|
+
,
|
|
309
|
+
{
|
|
310
|
+
"partnershipRuns":"7",
|
|
311
|
+
"partnershipOvers":"2.2",
|
|
312
|
+
"fowType":"",
|
|
313
|
+
"partnershipWicketName":"7th",
|
|
314
|
+
"partnershipRuns":"7",
|
|
315
|
+
"fowType":"",
|
|
316
|
+
"player2Name":"AR Magar",
|
|
317
|
+
"player2Runs":"",
|
|
318
|
+
"player1Name":"D Kandel",
|
|
319
|
+
"player1Runs":""
|
|
320
|
+
}
|
|
321
|
+
,
|
|
322
|
+
{
|
|
323
|
+
"partnershipRuns":"21",
|
|
324
|
+
"partnershipOvers":"4.0",
|
|
325
|
+
"fowType":"",
|
|
326
|
+
"partnershipWicketName":"8th",
|
|
327
|
+
"partnershipRuns":"21",
|
|
328
|
+
"fowType":"",
|
|
329
|
+
"player2Name":"PKH Rai",
|
|
330
|
+
"player2Runs":"",
|
|
331
|
+
"player1Name":"AR Magar",
|
|
332
|
+
"player1Runs":""
|
|
333
|
+
}
|
|
334
|
+
,
|
|
335
|
+
{
|
|
336
|
+
"partnershipRuns":"3",
|
|
337
|
+
"partnershipOvers":"0.5",
|
|
338
|
+
"fowType":"",
|
|
339
|
+
"partnershipWicketName":"9th",
|
|
340
|
+
"partnershipRuns":"3",
|
|
341
|
+
"fowType":"",
|
|
342
|
+
"player2Name":"PKH Rai",
|
|
343
|
+
"player2Runs":"",
|
|
344
|
+
"player1Name":"BK Mahato",
|
|
345
|
+
"player1Runs":""
|
|
346
|
+
}
|
|
347
|
+
,
|
|
348
|
+
{
|
|
349
|
+
"partnershipRuns":"0",
|
|
350
|
+
"partnershipOvers":"0.1",
|
|
351
|
+
"fowType":"",
|
|
352
|
+
"partnershipWicketName":"10th",
|
|
353
|
+
"partnershipRuns":"0",
|
|
354
|
+
"fowType":"",
|
|
355
|
+
"player2Name":"PKH Rai",
|
|
356
|
+
"player2Runs":"",
|
|
357
|
+
"player1Name":"G Shrestha",
|
|
358
|
+
"player1Runs":""
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474/situation",
|
|
4
|
+
"odds": {
|
|
5
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/leagues/19138/events/1529474/competitions/1529474/situation/odds"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/athletes//statistics",
|
|
3
|
+
"athlete": {
|
|
4
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/athletes/"
|
|
5
|
+
},
|
|
6
|
+
"splits": {
|
|
7
|
+
"id": "0",
|
|
8
|
+
"name": "Total",
|
|
9
|
+
"abbreviation": "Total",
|
|
10
|
+
"categories": [
|
|
11
|
+
{
|
|
12
|
+
"name": "general",
|
|
13
|
+
"displayName": "General",
|
|
14
|
+
"shortDisplayName": "General",
|
|
15
|
+
"abbreviation": "gen",
|
|
16
|
+
"summary": "",
|
|
17
|
+
"stats": [
|
|
18
|
+
{
|
|
19
|
+
"name": "matches",
|
|
20
|
+
"displayName": "Matches",
|
|
21
|
+
"shortDisplayName": "Matches",
|
|
22
|
+
"description": "Matches",
|
|
23
|
+
"abbreviation": "M",
|
|
24
|
+
"value": 0,
|
|
25
|
+
"displayValue": "0"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "runs",
|
|
29
|
+
"displayName": "Runs",
|
|
30
|
+
"shortDisplayName": "Runs",
|
|
31
|
+
"description": "Runs",
|
|
32
|
+
"abbreviation": "R",
|
|
33
|
+
"value": 0,
|
|
34
|
+
"displayValue": "-"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "conceded",
|
|
38
|
+
"displayName": "Conceded",
|
|
39
|
+
"shortDisplayName": "Conceded",
|
|
40
|
+
"description": "Conceded",
|
|
41
|
+
"abbreviation": "R",
|
|
42
|
+
"value": 0,
|
|
43
|
+
"displayValue": "-"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "battingAverage",
|
|
47
|
+
"displayName": "Batting Average",
|
|
48
|
+
"shortDisplayName": "Batting Average",
|
|
49
|
+
"description": "Batting Average",
|
|
50
|
+
"abbreviation": "BTA",
|
|
51
|
+
"value": 0,
|
|
52
|
+
"displayValue": "-"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "highScore",
|
|
56
|
+
"displayName": "High Score",
|
|
57
|
+
"shortDisplayName": "High Score",
|
|
58
|
+
"description": "High Score",
|
|
59
|
+
"abbreviation": "HS",
|
|
60
|
+
"value": 0,
|
|
61
|
+
"displayValue": "-"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "battingStrikeRate",
|
|
65
|
+
"displayName": "Batting Strike Rate",
|
|
66
|
+
"shortDisplayName": "Batting Strike Rate",
|
|
67
|
+
"description": "Batting Strike Rate",
|
|
68
|
+
"abbreviation": "BTSR",
|
|
69
|
+
"value": 0,
|
|
70
|
+
"displayValue": "0"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "wickets",
|
|
74
|
+
"displayName": "Wickets",
|
|
75
|
+
"shortDisplayName": "Wickets",
|
|
76
|
+
"description": "Wickets",
|
|
77
|
+
"abbreviation": "W",
|
|
78
|
+
"value": 0,
|
|
79
|
+
"displayValue": ""
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "bowlingAverage",
|
|
83
|
+
"displayName": "Bowling Average",
|
|
84
|
+
"shortDisplayName": "Bowling Average",
|
|
85
|
+
"description": "Bowling Average",
|
|
86
|
+
"abbreviation": "BWA",
|
|
87
|
+
"value": 0,
|
|
88
|
+
"displayValue": "-"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "bowlingStrikeRate",
|
|
92
|
+
"displayName": "Bowling Strike Rate",
|
|
93
|
+
"shortDisplayName": "Bowling Strike Rate",
|
|
94
|
+
"description": "Bowling Strike Rate",
|
|
95
|
+
"abbreviation": "BWSR",
|
|
96
|
+
"value": 0,
|
|
97
|
+
"displayValue": "0"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "bestBowlingFigures",
|
|
101
|
+
"displayName": "Best Bowling Figures",
|
|
102
|
+
"shortDisplayName": "Best Bowling Figures",
|
|
103
|
+
"description": "Best Bowling Figures",
|
|
104
|
+
"abbreviation": "BBI",
|
|
105
|
+
"value": 0,
|
|
106
|
+
"displayValue": "-"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "economyRate",
|
|
110
|
+
"displayName": "Economy Rate",
|
|
111
|
+
"shortDisplayName": "Economy Rate",
|
|
112
|
+
"description": "Economy Rate",
|
|
113
|
+
"abbreviation": "ER",
|
|
114
|
+
"value": 0,
|
|
115
|
+
"displayValue": "0"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/athletes/1361257",
|
|
3
|
+
"id": "1361257",
|
|
4
|
+
"guid": "5832b359-bcb7-3d67-8caa-1d2c5495a48a",
|
|
5
|
+
"uid": "s:200~a:1361257",
|
|
6
|
+
"type": "cricket",
|
|
7
|
+
"name": "Fazal Haq Shaheen",
|
|
8
|
+
"firstName": "Fazal",
|
|
9
|
+
"middleName": "",
|
|
10
|
+
"lastName": "Shaheen",
|
|
11
|
+
"shortName": "",
|
|
12
|
+
"fullName": "Fazal Haq Shaheen",
|
|
13
|
+
"displayName": "Fazal Haq Shaheen",
|
|
14
|
+
"weight": 0,
|
|
15
|
+
"height": 0.00,
|
|
16
|
+
"age": 26,
|
|
17
|
+
"dateOfBirthStr": "1999-05-10T00:00Z",
|
|
18
|
+
"dateOfBirth": "1999-05-10T00:00Z",
|
|
19
|
+
"dateOfDeathStr": "",
|
|
20
|
+
"dateOfDeath": "",
|
|
21
|
+
"isActive": true,
|
|
22
|
+
"active": true,
|
|
23
|
+
"gender": "M",
|
|
24
|
+
"debutYear": null,
|
|
25
|
+
"birthPlace": {},
|
|
26
|
+
"jersey": null,
|
|
27
|
+
"style": [
|
|
28
|
+
{
|
|
29
|
+
"description": "Left-hand bat",
|
|
30
|
+
"shortDescription": "Lhb",
|
|
31
|
+
"type": "batting"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"description": "Slow left-arm orthodox",
|
|
35
|
+
"shortDescription": "Sla",
|
|
36
|
+
"type": "bowling"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"styles": [
|
|
40
|
+
{
|
|
41
|
+
"description": "Left-hand bat",
|
|
42
|
+
"shortDescription": "Lhb",
|
|
43
|
+
"type": "batting"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"description": "Slow left-arm orthodox",
|
|
47
|
+
"shortDescription": "Sla",
|
|
48
|
+
"type": "bowling"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"position": {
|
|
52
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/positions/UKN",
|
|
53
|
+
"id": "UKN",
|
|
54
|
+
"name": "Unknown",
|
|
55
|
+
"abbreviation": "UKN",
|
|
56
|
+
"leaf": true,
|
|
57
|
+
"parent": {
|
|
58
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/positions/UKN"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"battingName": "Fazal Haq Shaheen",
|
|
62
|
+
"fieldingName": "Fazal Haq Shaheen",
|
|
63
|
+
"country": 40,
|
|
64
|
+
"relations": [],
|
|
65
|
+
"majorTeams": [
|
|
66
|
+
{
|
|
67
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/teams/1108867"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"headshot": {
|
|
71
|
+
"href": "https://a.espncdn.com/i/headshots/cricket/players/default-player-logo-500.png",
|
|
72
|
+
"rel": [
|
|
73
|
+
"full",
|
|
74
|
+
"default"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"flag": {
|
|
78
|
+
"href": "https://a.espncdn.com/i/teamlogos/cricket/500/40.png",
|
|
79
|
+
"width": 500,
|
|
80
|
+
"height": 500,
|
|
81
|
+
"alt": "AFG",
|
|
82
|
+
"rel": [
|
|
83
|
+
"full",
|
|
84
|
+
"default"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"team": {
|
|
88
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/teams/40"
|
|
89
|
+
},
|
|
90
|
+
"news": {
|
|
91
|
+
"$ref": "http://core.espnuk.org/v2/sports/cricket/athletes/1361257/news"
|
|
92
|
+
},
|
|
93
|
+
"debuts": [],
|
|
94
|
+
"links": [
|
|
95
|
+
{
|
|
96
|
+
"language": "en",
|
|
97
|
+
"rel": [
|
|
98
|
+
"playercard",
|
|
99
|
+
"desktop"
|
|
100
|
+
],
|
|
101
|
+
"href": "https://www.espncricinfo.com/ci/content/player/1361257.html",
|
|
102
|
+
"text": "Player Card",
|
|
103
|
+
"shortText": "Player Card",
|
|
104
|
+
"isExternal": false,
|
|
105
|
+
"isPremium": false
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|