xmlstats 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -2
- data/lib/xmlstats.rb +37 -2
- data/lib/xmlstats/cachers/redis.rb +1 -1
- data/lib/xmlstats/endpoints/mlb_roster.rb +19 -0
- data/lib/xmlstats/http_getters/net_http.rb +4 -0
- data/lib/xmlstats/version.rb +1 -1
- data/spec/endpoints/events_spec.rb +12 -2
- data/spec/endpoints/mlb_teams_spec.rb +3 -3
- data/spec/objects/pitcher_spec.rb +0 -4
- data/spec/vcr_cassettes/endpoint/mlb_teams-all.yml +68 -373
- data/spec/vcr_cassettes/events-all-20130901.yml +81 -600
- metadata +18 -18
@@ -8,13 +8,13 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- xmlstats-ruby/1.
|
11
|
+
- xmlstats-ruby/1.6.1 (<CONTACT_INFO>)
|
12
12
|
Authorization:
|
13
13
|
- Bearer <API_KEY>
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Accept:
|
17
|
-
-
|
17
|
+
- "*/*"
|
18
18
|
response:
|
19
19
|
status:
|
20
20
|
code: 200
|
@@ -22,12 +22,16 @@ http_interactions:
|
|
22
22
|
headers:
|
23
23
|
Xmlstats-Api-Method:
|
24
24
|
- events
|
25
|
-
Xmlstats-Api-Exec-Time:
|
26
|
-
- '37'
|
27
25
|
Xmlstats-Api-Limit:
|
28
|
-
- ''
|
26
|
+
- '6'
|
27
|
+
Xmlstats-Api-Remaining:
|
28
|
+
- '5'
|
29
|
+
Xmlstats-Api-Reset:
|
30
|
+
- '1428838260'
|
31
|
+
Xmlstats-Api-Exec-Time:
|
32
|
+
- '22'
|
29
33
|
Etag:
|
30
|
-
- '
|
34
|
+
- '1211558599'
|
31
35
|
Content-Type:
|
32
36
|
- application/json
|
33
37
|
Transfer-Encoding:
|
@@ -35,601 +39,78 @@ http_interactions:
|
|
35
39
|
Vary:
|
36
40
|
- Accept-Encoding
|
37
41
|
Date:
|
38
|
-
-
|
42
|
+
- Sun, 12 Apr 2015 11:30:16 GMT
|
39
43
|
Server:
|
40
44
|
- Apache
|
41
45
|
body:
|
42
|
-
encoding:
|
43
|
-
string:
|
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
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
"conference" : "National",
|
111
|
-
"division" : "East",
|
112
|
-
"site_name" : "Nationals Park",
|
113
|
-
"city" : "Washington",
|
114
|
-
"state" : "District of Columbia",
|
115
|
-
"full_name" : "Washington Nationals"
|
116
|
-
},
|
117
|
-
"site" : {
|
118
|
-
"capacity" : 41487,
|
119
|
-
"surface" : "Grass",
|
120
|
-
"name" : "Nationals Park",
|
121
|
-
"city" : "Washington",
|
122
|
-
"state" : "District of Columbia"
|
123
|
-
}
|
124
|
-
}, {
|
125
|
-
"event_id" : "20130901-baltimore-orioles-at-new-york-yankees",
|
126
|
-
"event_status" : "scheduled",
|
127
|
-
"sport" : "MLB",
|
128
|
-
"start_date_time" : "2013-09-01T13:05:00-04:00",
|
129
|
-
"season_type" : "regular",
|
130
|
-
"away_team" : {
|
131
|
-
"team_id" : "baltimore-orioles",
|
132
|
-
"abbreviation" : "BAL",
|
133
|
-
"active" : true,
|
134
|
-
"first_name" : "Baltimore",
|
135
|
-
"last_name" : "Orioles",
|
136
|
-
"conference" : "American",
|
137
|
-
"division" : "East",
|
138
|
-
"site_name" : "Oriole Park at Camden Yards",
|
139
|
-
"city" : "Baltimore",
|
140
|
-
"state" : "Maryland",
|
141
|
-
"full_name" : "Baltimore Orioles"
|
142
|
-
},
|
143
|
-
"home_team" : {
|
144
|
-
"team_id" : "new-york-yankees",
|
145
|
-
"abbreviation" : "NYY",
|
146
|
-
"active" : true,
|
147
|
-
"first_name" : "New York",
|
148
|
-
"last_name" : "Yankees",
|
149
|
-
"conference" : "American",
|
150
|
-
"division" : "East",
|
151
|
-
"site_name" : "Yankee Stadium",
|
152
|
-
"city" : "Bronx",
|
153
|
-
"state" : "New York",
|
154
|
-
"full_name" : "New York Yankees"
|
155
|
-
},
|
156
|
-
"site" : {
|
157
|
-
"capacity" : 50291,
|
158
|
-
"surface" : "Grass",
|
159
|
-
"name" : "Yankee Stadium",
|
160
|
-
"city" : "Bronx",
|
161
|
-
"state" : "New York"
|
162
|
-
}
|
163
|
-
}, {
|
164
|
-
"event_id" : "20130901-cleveland-indians-at-detroit-tigers",
|
165
|
-
"event_status" : "scheduled",
|
166
|
-
"sport" : "MLB",
|
167
|
-
"start_date_time" : "2013-09-01T13:05:00-04:00",
|
168
|
-
"season_type" : "regular",
|
169
|
-
"away_team" : {
|
170
|
-
"team_id" : "cleveland-indians",
|
171
|
-
"abbreviation" : "CLE",
|
172
|
-
"active" : true,
|
173
|
-
"first_name" : "Cleveland",
|
174
|
-
"last_name" : "Indians",
|
175
|
-
"conference" : "American",
|
176
|
-
"division" : "Central",
|
177
|
-
"site_name" : "Progressive Field",
|
178
|
-
"city" : "Cleveland",
|
179
|
-
"state" : "Ohio",
|
180
|
-
"full_name" : "Cleveland Indians"
|
181
|
-
},
|
182
|
-
"home_team" : {
|
183
|
-
"team_id" : "detroit-tigers",
|
184
|
-
"abbreviation" : "DET",
|
185
|
-
"active" : true,
|
186
|
-
"first_name" : "Detroit",
|
187
|
-
"last_name" : "Tigers",
|
188
|
-
"conference" : "American",
|
189
|
-
"division" : "Central",
|
190
|
-
"site_name" : "Comerica Park",
|
191
|
-
"city" : "Detroit",
|
192
|
-
"state" : "Michigan",
|
193
|
-
"full_name" : "Detroit Tigers"
|
194
|
-
},
|
195
|
-
"site" : {
|
196
|
-
"capacity" : 41255,
|
197
|
-
"surface" : "Grass",
|
198
|
-
"name" : "Comerica Park",
|
199
|
-
"city" : "Detroit",
|
200
|
-
"state" : "Michigan"
|
201
|
-
}
|
202
|
-
}, {
|
203
|
-
"event_id" : "20130901-kansas-city-royals-at-toronto-blue-jays",
|
204
|
-
"event_status" : "scheduled",
|
205
|
-
"sport" : "MLB",
|
206
|
-
"start_date_time" : "2013-09-01T13:07:00-04:00",
|
207
|
-
"season_type" : "regular",
|
208
|
-
"away_team" : {
|
209
|
-
"team_id" : "kansas-city-royals",
|
210
|
-
"abbreviation" : "KC",
|
211
|
-
"active" : true,
|
212
|
-
"first_name" : "Kansas City",
|
213
|
-
"last_name" : "Royals",
|
214
|
-
"conference" : "American",
|
215
|
-
"division" : "Central",
|
216
|
-
"site_name" : "Kauffman Stadium",
|
217
|
-
"city" : "Kansas City",
|
218
|
-
"state" : "Missouri",
|
219
|
-
"full_name" : "Kansas City Royals"
|
220
|
-
},
|
221
|
-
"home_team" : {
|
222
|
-
"team_id" : "toronto-blue-jays",
|
223
|
-
"abbreviation" : "TOR",
|
224
|
-
"active" : true,
|
225
|
-
"first_name" : "Toronto",
|
226
|
-
"last_name" : "Blue Jays",
|
227
|
-
"conference" : "American",
|
228
|
-
"division" : "East",
|
229
|
-
"site_name" : "Rogers Centre",
|
230
|
-
"city" : "Toronto",
|
231
|
-
"state" : "Ontario",
|
232
|
-
"full_name" : "Toronto Blue Jays"
|
233
|
-
},
|
234
|
-
"site" : {
|
235
|
-
"capacity" : 49230,
|
236
|
-
"surface" : "Field Turf",
|
237
|
-
"name" : "Rogers Centre",
|
238
|
-
"city" : "Toronto",
|
239
|
-
"state" : "Ontario"
|
240
|
-
}
|
241
|
-
}, {
|
242
|
-
"event_id" : "20130901-st-louis-cardinals-at-pittsburgh-pirates",
|
243
|
-
"event_status" : "scheduled",
|
244
|
-
"sport" : "MLB",
|
245
|
-
"start_date_time" : "2013-09-01T13:35:00-04:00",
|
246
|
-
"season_type" : "regular",
|
247
|
-
"away_team" : {
|
248
|
-
"team_id" : "st-louis-cardinals",
|
249
|
-
"abbreviation" : "STL",
|
250
|
-
"active" : true,
|
251
|
-
"first_name" : "St. Louis",
|
252
|
-
"last_name" : "Cardinals",
|
253
|
-
"conference" : "National",
|
254
|
-
"division" : "Central",
|
255
|
-
"site_name" : "Busch Stadium",
|
256
|
-
"city" : "Saint Louis",
|
257
|
-
"state" : "Missouri",
|
258
|
-
"full_name" : "St. Louis Cardinals"
|
259
|
-
},
|
260
|
-
"home_team" : {
|
261
|
-
"team_id" : "pittsburgh-pirates",
|
262
|
-
"abbreviation" : "PIT",
|
263
|
-
"active" : true,
|
264
|
-
"first_name" : "Pittsburgh",
|
265
|
-
"last_name" : "Pirates",
|
266
|
-
"conference" : "National",
|
267
|
-
"division" : "Central",
|
268
|
-
"site_name" : "PNC Park",
|
269
|
-
"city" : "Pittsburgh",
|
270
|
-
"state" : "Pennsylvania",
|
271
|
-
"full_name" : "Pittsburgh Pirates"
|
272
|
-
},
|
273
|
-
"site" : {
|
274
|
-
"capacity" : 38496,
|
275
|
-
"surface" : "Grass",
|
276
|
-
"name" : "PNC Park",
|
277
|
-
"city" : "Pittsburgh",
|
278
|
-
"state" : "Pennsylvania"
|
279
|
-
}
|
280
|
-
}, {
|
281
|
-
"event_id" : "20130901-chicago-white-sox-at-boston-red-sox",
|
282
|
-
"event_status" : "scheduled",
|
283
|
-
"sport" : "MLB",
|
284
|
-
"start_date_time" : "2013-09-01T13:35:00-04:00",
|
285
|
-
"season_type" : "regular",
|
286
|
-
"away_team" : {
|
287
|
-
"team_id" : "chicago-white-sox",
|
288
|
-
"abbreviation" : "CHW",
|
289
|
-
"active" : true,
|
290
|
-
"first_name" : "Chicago",
|
291
|
-
"last_name" : "White Sox",
|
292
|
-
"conference" : "American",
|
293
|
-
"division" : "Central",
|
294
|
-
"site_name" : "U.S. Cellular Field",
|
295
|
-
"city" : "Chicago",
|
296
|
-
"state" : "Illinois",
|
297
|
-
"full_name" : "Chicago White Sox"
|
298
|
-
},
|
299
|
-
"home_team" : {
|
300
|
-
"team_id" : "boston-red-sox",
|
301
|
-
"abbreviation" : "BOS",
|
302
|
-
"active" : true,
|
303
|
-
"first_name" : "Boston",
|
304
|
-
"last_name" : "Red Sox",
|
305
|
-
"conference" : "American",
|
306
|
-
"division" : "East",
|
307
|
-
"site_name" : "Fenway Park",
|
308
|
-
"city" : "Boston",
|
309
|
-
"state" : "Massachusetts",
|
310
|
-
"full_name" : "Boston Red Sox"
|
311
|
-
},
|
312
|
-
"site" : {
|
313
|
-
"capacity" : 33871,
|
314
|
-
"surface" : "Grass",
|
315
|
-
"name" : "Fenway Park",
|
316
|
-
"city" : "Boston",
|
317
|
-
"state" : "Massachusetts"
|
318
|
-
}
|
319
|
-
}, {
|
320
|
-
"event_id" : "20130901-seattle-mariners-at-houston-astros",
|
321
|
-
"event_status" : "scheduled",
|
322
|
-
"sport" : "MLB",
|
323
|
-
"start_date_time" : "2013-09-01T14:10:00-04:00",
|
324
|
-
"season_type" : "regular",
|
325
|
-
"away_team" : {
|
326
|
-
"team_id" : "seattle-mariners",
|
327
|
-
"abbreviation" : "SEA",
|
328
|
-
"active" : true,
|
329
|
-
"first_name" : "Seattle",
|
330
|
-
"last_name" : "Mariners",
|
331
|
-
"conference" : "American",
|
332
|
-
"division" : "West",
|
333
|
-
"site_name" : "Safeco Field",
|
334
|
-
"city" : "Seattle",
|
335
|
-
"state" : "Washington",
|
336
|
-
"full_name" : "Seattle Mariners"
|
337
|
-
},
|
338
|
-
"home_team" : {
|
339
|
-
"team_id" : "houston-astros",
|
340
|
-
"abbreviation" : "HOU",
|
341
|
-
"active" : true,
|
342
|
-
"first_name" : "Houston",
|
343
|
-
"last_name" : "Astros",
|
344
|
-
"conference" : "American",
|
345
|
-
"division" : "West",
|
346
|
-
"site_name" : "Minute Maid Park",
|
347
|
-
"city" : "Houston",
|
348
|
-
"state" : "Texas",
|
349
|
-
"full_name" : "Houston Astros"
|
350
|
-
},
|
351
|
-
"site" : {
|
352
|
-
"capacity" : 40950,
|
353
|
-
"surface" : "Grass",
|
354
|
-
"name" : "Minute Maid Park",
|
355
|
-
"city" : "Houston",
|
356
|
-
"state" : "Texas"
|
357
|
-
}
|
358
|
-
}, {
|
359
|
-
"event_id" : "20130901-los-angeles-angels-at-milwaukee-brewers",
|
360
|
-
"event_status" : "scheduled",
|
361
|
-
"sport" : "MLB",
|
362
|
-
"start_date_time" : "2013-09-01T14:10:00-04:00",
|
363
|
-
"season_type" : "regular",
|
364
|
-
"away_team" : {
|
365
|
-
"team_id" : "los-angeles-angels",
|
366
|
-
"abbreviation" : "LAA",
|
367
|
-
"active" : true,
|
368
|
-
"first_name" : "Los Angeles",
|
369
|
-
"last_name" : "Angels",
|
370
|
-
"conference" : "American",
|
371
|
-
"division" : "West",
|
372
|
-
"site_name" : "Angel Stadium of Anaheim",
|
373
|
-
"city" : "Anaheim",
|
374
|
-
"state" : "California",
|
375
|
-
"full_name" : "Los Angeles Angels"
|
376
|
-
},
|
377
|
-
"home_team" : {
|
378
|
-
"team_id" : "milwaukee-brewers",
|
379
|
-
"abbreviation" : "MIL",
|
380
|
-
"active" : true,
|
381
|
-
"first_name" : "Milwaukee",
|
382
|
-
"last_name" : "Brewers",
|
383
|
-
"conference" : "National",
|
384
|
-
"division" : "Central",
|
385
|
-
"site_name" : "Miller Park",
|
386
|
-
"city" : "Milwaukee",
|
387
|
-
"state" : "Wisconsin",
|
388
|
-
"full_name" : "Milwaukee Brewers"
|
389
|
-
},
|
390
|
-
"site" : {
|
391
|
-
"capacity" : 43000,
|
392
|
-
"surface" : "Grass",
|
393
|
-
"name" : "Miller Park",
|
394
|
-
"city" : "Milwaukee",
|
395
|
-
"state" : "Wisconsin"
|
396
|
-
}
|
397
|
-
}, {
|
398
|
-
"event_id" : "20130901-minnesota-twins-at-texas-rangers",
|
399
|
-
"event_status" : "scheduled",
|
400
|
-
"sport" : "MLB",
|
401
|
-
"start_date_time" : "2013-09-01T15:05:00-04:00",
|
402
|
-
"season_type" : "regular",
|
403
|
-
"away_team" : {
|
404
|
-
"team_id" : "minnesota-twins",
|
405
|
-
"abbreviation" : "MIN",
|
406
|
-
"active" : true,
|
407
|
-
"first_name" : "Minnesota",
|
408
|
-
"last_name" : "Twins",
|
409
|
-
"conference" : "American",
|
410
|
-
"division" : "Central",
|
411
|
-
"site_name" : "Target Field",
|
412
|
-
"city" : "Minneapolis",
|
413
|
-
"state" : "Minnesota",
|
414
|
-
"full_name" : "Minnesota Twins"
|
415
|
-
},
|
416
|
-
"home_team" : {
|
417
|
-
"team_id" : "texas-rangers",
|
418
|
-
"abbreviation" : "TEX",
|
419
|
-
"active" : true,
|
420
|
-
"first_name" : "Texas",
|
421
|
-
"last_name" : "Rangers",
|
422
|
-
"conference" : "American",
|
423
|
-
"division" : "West",
|
424
|
-
"site_name" : "Rangers Ballpark in Arlington",
|
425
|
-
"city" : "Arlington",
|
426
|
-
"state" : "Texas",
|
427
|
-
"full_name" : "Texas Rangers"
|
428
|
-
},
|
429
|
-
"site" : {
|
430
|
-
"capacity" : 49115,
|
431
|
-
"surface" : "Grass",
|
432
|
-
"name" : "Rangers Ballpark in Arlington",
|
433
|
-
"city" : "Arlington",
|
434
|
-
"state" : "Texas"
|
435
|
-
}
|
436
|
-
}, {
|
437
|
-
"event_id" : "20130901-tampa-bay-rays-at-oakland-athletics",
|
438
|
-
"event_status" : "scheduled",
|
439
|
-
"sport" : "MLB",
|
440
|
-
"start_date_time" : "2013-09-01T16:05:00-04:00",
|
441
|
-
"season_type" : "regular",
|
442
|
-
"away_team" : {
|
443
|
-
"team_id" : "tampa-bay-rays",
|
444
|
-
"abbreviation" : "TB",
|
445
|
-
"active" : true,
|
446
|
-
"first_name" : "Tampa Bay",
|
447
|
-
"last_name" : "Rays",
|
448
|
-
"conference" : "American",
|
449
|
-
"division" : "East",
|
450
|
-
"site_name" : "Tropicana Field",
|
451
|
-
"city" : "Saint Petersburg",
|
452
|
-
"state" : "Florida",
|
453
|
-
"full_name" : "Tampa Bay Rays"
|
454
|
-
},
|
455
|
-
"home_team" : {
|
456
|
-
"team_id" : "oakland-athletics",
|
457
|
-
"abbreviation" : "OAK",
|
458
|
-
"active" : true,
|
459
|
-
"first_name" : "Oakland",
|
460
|
-
"last_name" : "Athletics",
|
461
|
-
"conference" : "American",
|
462
|
-
"division" : "West",
|
463
|
-
"site_name" : "O.co Coliseum",
|
464
|
-
"city" : "Oakland",
|
465
|
-
"state" : "California",
|
466
|
-
"full_name" : "Oakland Athletics"
|
467
|
-
},
|
468
|
-
"site" : {
|
469
|
-
"capacity" : 35067,
|
470
|
-
"surface" : "Grass",
|
471
|
-
"name" : "O.co Coliseum",
|
472
|
-
"city" : "Oakland",
|
473
|
-
"state" : "California"
|
474
|
-
}
|
475
|
-
}, {
|
476
|
-
"event_id" : "20130901-cincinnati-reds-at-colorado-rockies",
|
477
|
-
"event_status" : "scheduled",
|
478
|
-
"sport" : "MLB",
|
479
|
-
"start_date_time" : "2013-09-01T16:10:00-04:00",
|
480
|
-
"season_type" : "regular",
|
481
|
-
"away_team" : {
|
482
|
-
"team_id" : "cincinnati-reds",
|
483
|
-
"abbreviation" : "CIN",
|
484
|
-
"active" : true,
|
485
|
-
"first_name" : "Cincinnati",
|
486
|
-
"last_name" : "Reds",
|
487
|
-
"conference" : "National",
|
488
|
-
"division" : "Central",
|
489
|
-
"site_name" : "Great American Ball Park",
|
490
|
-
"city" : "Cincinnati",
|
491
|
-
"state" : "Ohio",
|
492
|
-
"full_name" : "Cincinnati Reds"
|
493
|
-
},
|
494
|
-
"home_team" : {
|
495
|
-
"team_id" : "colorado-rockies",
|
496
|
-
"abbreviation" : "COL",
|
497
|
-
"active" : true,
|
498
|
-
"first_name" : "Colorado",
|
499
|
-
"last_name" : "Rockies",
|
500
|
-
"conference" : "National",
|
501
|
-
"division" : "West",
|
502
|
-
"site_name" : "Coors Field",
|
503
|
-
"city" : "Denver",
|
504
|
-
"state" : "Colorado",
|
505
|
-
"full_name" : "Colorado Rockies"
|
506
|
-
},
|
507
|
-
"site" : {
|
508
|
-
"capacity" : 50445,
|
509
|
-
"surface" : "Grass",
|
510
|
-
"name" : "Coors Field",
|
511
|
-
"city" : "Denver",
|
512
|
-
"state" : "Colorado"
|
513
|
-
}
|
514
|
-
}, {
|
515
|
-
"event_id" : "20130901-san-diego-padres-at-los-angeles-dodgers",
|
516
|
-
"event_status" : "scheduled",
|
517
|
-
"sport" : "MLB",
|
518
|
-
"start_date_time" : "2013-09-01T16:10:00-04:00",
|
519
|
-
"season_type" : "regular",
|
520
|
-
"away_team" : {
|
521
|
-
"team_id" : "san-diego-padres",
|
522
|
-
"abbreviation" : "SD",
|
523
|
-
"active" : true,
|
524
|
-
"first_name" : "San Diego",
|
525
|
-
"last_name" : "Padres",
|
526
|
-
"conference" : "National",
|
527
|
-
"division" : "West",
|
528
|
-
"site_name" : "PETCO Park",
|
529
|
-
"city" : "San Diego",
|
530
|
-
"state" : "California",
|
531
|
-
"full_name" : "San Diego Padres"
|
532
|
-
},
|
533
|
-
"home_team" : {
|
534
|
-
"team_id" : "los-angeles-dodgers",
|
535
|
-
"abbreviation" : "LAD",
|
536
|
-
"active" : true,
|
537
|
-
"first_name" : "Los Angeles",
|
538
|
-
"last_name" : "Dodgers",
|
539
|
-
"conference" : "National",
|
540
|
-
"division" : "West",
|
541
|
-
"site_name" : "Dodger Stadium",
|
542
|
-
"city" : "Los Angeles",
|
543
|
-
"state" : "California",
|
544
|
-
"full_name" : "Los Angeles Dodgers"
|
545
|
-
},
|
546
|
-
"site" : {
|
547
|
-
"capacity" : 56000,
|
548
|
-
"surface" : "Grass",
|
549
|
-
"name" : "Dodger Stadium",
|
550
|
-
"city" : "Los Angeles",
|
551
|
-
"state" : "California"
|
552
|
-
}
|
553
|
-
}, {
|
554
|
-
"event_id" : "20130901-san-francisco-giants-at-arizona-diamondbacks",
|
555
|
-
"event_status" : "scheduled",
|
556
|
-
"sport" : "MLB",
|
557
|
-
"start_date_time" : "2013-09-01T16:10:00-04:00",
|
558
|
-
"season_type" : "regular",
|
559
|
-
"away_team" : {
|
560
|
-
"team_id" : "san-francisco-giants",
|
561
|
-
"abbreviation" : "SF",
|
562
|
-
"active" : true,
|
563
|
-
"first_name" : "San Francisco",
|
564
|
-
"last_name" : "Giants",
|
565
|
-
"conference" : "National",
|
566
|
-
"division" : "West",
|
567
|
-
"site_name" : "AT&T Park",
|
568
|
-
"city" : "San Francisco",
|
569
|
-
"state" : "California",
|
570
|
-
"full_name" : "San Francisco Giants"
|
571
|
-
},
|
572
|
-
"home_team" : {
|
573
|
-
"team_id" : "arizona-diamondbacks",
|
574
|
-
"abbreviation" : "ARI",
|
575
|
-
"active" : true,
|
576
|
-
"first_name" : "Arizona",
|
577
|
-
"last_name" : "Diamondbacks",
|
578
|
-
"conference" : "National",
|
579
|
-
"division" : "West",
|
580
|
-
"site_name" : "Chase Field",
|
581
|
-
"city" : "Phoenix",
|
582
|
-
"state" : "Arizona",
|
583
|
-
"full_name" : "Arizona Diamondbacks"
|
584
|
-
},
|
585
|
-
"site" : {
|
586
|
-
"capacity" : 49033,
|
587
|
-
"surface" : "Grass",
|
588
|
-
"name" : "Chase Field",
|
589
|
-
"city" : "Phoenix",
|
590
|
-
"state" : "Arizona"
|
591
|
-
}
|
592
|
-
}, {
|
593
|
-
"event_id" : "20130901-miami-marlins-at-atlanta-braves",
|
594
|
-
"event_status" : "scheduled",
|
595
|
-
"sport" : "MLB",
|
596
|
-
"start_date_time" : "2013-09-01T17:00:00-04:00",
|
597
|
-
"season_type" : "regular",
|
598
|
-
"away_team" : {
|
599
|
-
"team_id" : "miami-marlins",
|
600
|
-
"abbreviation" : "MIA",
|
601
|
-
"active" : true,
|
602
|
-
"first_name" : "Miami",
|
603
|
-
"last_name" : "Marlins",
|
604
|
-
"conference" : "National",
|
605
|
-
"division" : "East",
|
606
|
-
"site_name" : "Marlins Park",
|
607
|
-
"city" : "Miami",
|
608
|
-
"state" : "Florida",
|
609
|
-
"full_name" : "Miami Marlins"
|
610
|
-
},
|
611
|
-
"home_team" : {
|
612
|
-
"team_id" : "atlanta-braves",
|
613
|
-
"abbreviation" : "ATL",
|
614
|
-
"active" : true,
|
615
|
-
"first_name" : "Atlanta",
|
616
|
-
"last_name" : "Braves",
|
617
|
-
"conference" : "National",
|
618
|
-
"division" : "East",
|
619
|
-
"site_name" : "Turner Field",
|
620
|
-
"city" : "Atlanta",
|
621
|
-
"state" : "Georgia",
|
622
|
-
"full_name" : "Atlanta Braves"
|
623
|
-
},
|
624
|
-
"site" : {
|
625
|
-
"capacity" : 50096,
|
626
|
-
"surface" : "Grass",
|
627
|
-
"name" : "Turner Field",
|
628
|
-
"city" : "Atlanta",
|
629
|
-
"state" : "Georgia"
|
630
|
-
}
|
631
|
-
} ]
|
632
|
-
}
|
46
|
+
encoding: ASCII-8BIT
|
47
|
+
string: '{"events_date":"2013-09-01T00:00:00-04:00","event":[{"event_id":"20130901-baltimore-orioles-at-new-york-yankees","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T13:05:00-04:00","season_type":"regular","away_team":{"team_id":"baltimore-orioles","abbreviation":"BAL","active":true,"first_name":"Baltimore","last_name":"Orioles","conference":"American","division":"East","site_name":"Oriole
|
48
|
+
Park at Camden Yards","city":"Baltimore","state":"Maryland","full_name":"Baltimore
|
49
|
+
Orioles"},"home_team":{"team_id":"new-york-yankees","abbreviation":"NYY","active":true,"first_name":"New
|
50
|
+
York","last_name":"Yankees","conference":"American","division":"East","site_name":"Yankee
|
51
|
+
Stadium","city":"Bronx","state":"New York","full_name":"New York Yankees"},"site":{"capacity":50291,"surface":"Grass","name":"Yankee
|
52
|
+
Stadium","city":"Bronx","state":"New York"},"away_period_scores":[0,0,0,0,0,0,7,0,0],"home_period_scores":[0,0,1,2,0,0,0,0,0],"away_points_scored":7,"home_points_scored":3},{"event_id":"20130901-cleveland-indians-at-detroit-tigers","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T13:05:00-04:00","season_type":"regular","away_team":{"team_id":"cleveland-indians","abbreviation":"CLE","active":true,"first_name":"Cleveland","last_name":"Indians","conference":"American","division":"Central","site_name":"Progressive
|
53
|
+
Field","city":"Cleveland","state":"Ohio","full_name":"Cleveland Indians"},"home_team":{"team_id":"detroit-tigers","abbreviation":"DET","active":true,"first_name":"Detroit","last_name":"Tigers","conference":"American","division":"Central","site_name":"Comerica
|
54
|
+
Park","city":"Detroit","state":"Michigan","full_name":"Detroit Tigers"},"site":{"capacity":41255,"surface":"Grass","name":"Comerica
|
55
|
+
Park","city":"Detroit","state":"Michigan"},"away_period_scores":[0,0,0,0,0,0,0,0,4],"home_period_scores":[0,0,0,0,0,0,0,0,0],"away_points_scored":4,"home_points_scored":0},{"event_id":"20130901-kansas-city-royals-at-toronto-blue-jays","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T13:07:00-04:00","season_type":"regular","away_team":{"team_id":"kansas-city-royals","abbreviation":"KC","active":true,"first_name":"Kansas
|
56
|
+
City","last_name":"Royals","conference":"American","division":"Central","site_name":"Kauffman
|
57
|
+
Stadium","city":"Kansas City","state":"Missouri","full_name":"Kansas City
|
58
|
+
Royals"},"home_team":{"team_id":"toronto-blue-jays","abbreviation":"TOR","active":true,"first_name":"Toronto","last_name":"Blue
|
59
|
+
Jays","conference":"American","division":"East","site_name":"Rogers Centre","city":"Toronto","state":"Ontario","full_name":"Toronto
|
60
|
+
Blue Jays"},"site":{"capacity":49230,"surface":"Field Turf","name":"Rogers
|
61
|
+
Centre","city":"Toronto","state":"Ontario"},"away_period_scores":[1,0,4,0,0,0,0,0,0],"home_period_scores":[0,0,0,0,0,0,0,0,0],"away_points_scored":5,"home_points_scored":0},{"event_id":"20130901-st-louis-cardinals-at-pittsburgh-pirates","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T13:35:00-04:00","season_type":"regular","away_team":{"team_id":"st-louis-cardinals","abbreviation":"STL","active":true,"first_name":"St.
|
62
|
+
Louis","last_name":"Cardinals","conference":"National","division":"Central","site_name":"Busch
|
63
|
+
Stadium","city":"Saint Louis","state":"Missouri","full_name":"St. Louis Cardinals"},"home_team":{"team_id":"pittsburgh-pirates","abbreviation":"PIT","active":true,"first_name":"Pittsburgh","last_name":"Pirates","conference":"National","division":"Central","site_name":"PNC
|
64
|
+
Park","city":"Pittsburgh","state":"Pennsylvania","full_name":"Pittsburgh Pirates"},"site":{"capacity":38496,"surface":"Grass","name":"PNC
|
65
|
+
Park","city":"Pittsburgh","state":"Pennsylvania"},"away_period_scores":[3,0,2,0,0,2,0,0,0],"home_period_scores":[0,0,0,0,0,1,0,0,1],"away_points_scored":7,"home_points_scored":2},{"event_id":"20130901-chicago-white-sox-at-boston-red-sox","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T13:35:00-04:00","season_type":"regular","away_team":{"team_id":"chicago-white-sox","abbreviation":"CHW","active":true,"first_name":"Chicago","last_name":"White
|
66
|
+
Sox","conference":"American","division":"Central","site_name":"U.S. Cellular
|
67
|
+
Field","city":"Chicago","state":"Illinois","full_name":"Chicago White Sox"},"home_team":{"team_id":"boston-red-sox","abbreviation":"BOS","active":true,"first_name":"Boston","last_name":"Red
|
68
|
+
Sox","conference":"American","division":"East","site_name":"Fenway Park","city":"Boston","state":"Massachusetts","full_name":"Boston
|
69
|
+
Red Sox"},"site":{"capacity":33871,"surface":"Grass","name":"Fenway Park","city":"Boston","state":"Massachusetts"},"away_period_scores":[0,0,0,4,1,0,0,1,0],"home_period_scores":[0,4,1,2,0,0,0,0,-1],"away_points_scored":6,"home_points_scored":7},{"event_id":"20130901-los-angeles-angels-at-milwaukee-brewers","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T14:10:00-04:00","season_type":"regular","away_team":{"team_id":"los-angeles-angels","abbreviation":"LAA","active":true,"first_name":"Los
|
70
|
+
Angeles","last_name":"Angels","conference":"American","division":"West","site_name":"Angel
|
71
|
+
Stadium of Anaheim","city":"Anaheim","state":"California","full_name":"Los
|
72
|
+
Angeles Angels"},"home_team":{"team_id":"milwaukee-brewers","abbreviation":"MIL","active":true,"first_name":"Milwaukee","last_name":"Brewers","conference":"National","division":"Central","site_name":"Miller
|
73
|
+
Park","city":"Milwaukee","state":"Wisconsin","full_name":"Milwaukee Brewers"},"site":{"capacity":43000,"surface":"Grass","name":"Miller
|
74
|
+
Park","city":"Milwaukee","state":"Wisconsin"},"away_period_scores":[0,0,1,0,0,0,4,0,0],"home_period_scores":[0,0,1,2,0,0,0,0,0],"away_points_scored":5,"home_points_scored":3},{"event_id":"20130901-seattle-mariners-at-houston-astros","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T14:10:00-04:00","season_type":"regular","away_team":{"team_id":"seattle-mariners","abbreviation":"SEA","active":true,"first_name":"Seattle","last_name":"Mariners","conference":"American","division":"West","site_name":"Safeco
|
75
|
+
Field","city":"Seattle","state":"Washington","full_name":"Seattle Mariners"},"home_team":{"team_id":"houston-astros","abbreviation":"HOU","active":true,"first_name":"Houston","last_name":"Astros","conference":"American","division":"West","site_name":"Minute
|
76
|
+
Maid Park","city":"Houston","state":"Texas","full_name":"Houston Astros"},"site":{"capacity":40950,"surface":"Grass","name":"Minute
|
77
|
+
Maid Park","city":"Houston","state":"Texas"},"away_period_scores":[0,0,0,0,0,0,0,0,0],"home_period_scores":[0,0,0,0,0,0,0,2,-1],"away_points_scored":0,"home_points_scored":2},{"event_id":"20130901-philadelphia-phillies-at-chicago-cubs","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T14:20:00-04:00","season_type":"regular","away_team":{"team_id":"philadelphia-phillies","abbreviation":"PHI","active":true,"first_name":"Philadelphia","last_name":"Phillies","conference":"National","division":"East","site_name":"Citizens
|
78
|
+
Bank Park","city":"Philadelphia","state":"Pennsylvania","full_name":"Philadelphia
|
79
|
+
Phillies"},"home_team":{"team_id":"chicago-cubs","abbreviation":"CHC","active":true,"first_name":"Chicago","last_name":"Cubs","conference":"National","division":"Central","site_name":"Wrigley
|
80
|
+
Field","city":"Chicago","state":"Illinois","full_name":"Chicago Cubs"},"site":{"capacity":39538,"surface":"Grass","name":"Wrigley
|
81
|
+
Field","city":"Chicago","state":"Illinois"},"away_period_scores":[0,0,0,1,0,0,0,0,0],"home_period_scores":[1,0,1,3,0,0,0,2,-1],"away_points_scored":1,"home_points_scored":7},{"event_id":"20130901-minnesota-twins-at-texas-rangers","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T15:05:00-04:00","season_type":"regular","away_team":{"team_id":"minnesota-twins","abbreviation":"MIN","active":true,"first_name":"Minnesota","last_name":"Twins","conference":"American","division":"Central","site_name":"Target
|
82
|
+
Field","city":"Minneapolis","state":"Minnesota","full_name":"Minnesota Twins"},"home_team":{"team_id":"texas-rangers","abbreviation":"TEX","active":true,"first_name":"Texas","last_name":"Rangers","conference":"American","division":"West","site_name":"Globe
|
83
|
+
Life Park in Arlington","city":"Arlington","state":"Texas","full_name":"Texas
|
84
|
+
Rangers"},"site":{"capacity":49115,"surface":"Grass","name":"Rangers Ballpark
|
85
|
+
in Arlington","city":"Arlington","state":"Texas"},"away_period_scores":[0,0,0,0,3,0,0,1,0],"home_period_scores":[0,0,1,0,0,0,0,1,0],"away_points_scored":4,"home_points_scored":2},{"event_id":"20130901-tampa-bay-rays-at-oakland-athletics","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T16:05:00-04:00","season_type":"regular","away_team":{"team_id":"tampa-bay-rays","abbreviation":"TB","active":true,"first_name":"Tampa
|
86
|
+
Bay","last_name":"Rays","conference":"American","division":"East","site_name":"Tropicana
|
87
|
+
Field","city":"Saint Petersburg","state":"Florida","full_name":"Tampa Bay
|
88
|
+
Rays"},"home_team":{"team_id":"oakland-athletics","abbreviation":"OAK","active":true,"first_name":"Oakland","last_name":"Athletics","conference":"American","division":"West","site_name":"O.co
|
89
|
+
Coliseum","city":"Oakland","state":"California","full_name":"Oakland Athletics"},"site":{"capacity":35067,"surface":"Grass","name":"O.co
|
90
|
+
Coliseum","city":"Oakland","state":"California"},"away_period_scores":[0,1,0,0,0,0,0,0,0],"home_period_scores":[1,0,1,0,0,0,1,2,-1],"away_points_scored":1,"home_points_scored":5},{"event_id":"20130901-san-diego-padres-at-los-angeles-dodgers","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T16:10:00-04:00","season_type":"regular","away_team":{"team_id":"san-diego-padres","abbreviation":"SD","active":true,"first_name":"San
|
91
|
+
Diego","last_name":"Padres","conference":"National","division":"West","site_name":"PETCO
|
92
|
+
Park","city":"San Diego","state":"California","full_name":"San Diego Padres"},"home_team":{"team_id":"los-angeles-dodgers","abbreviation":"LAD","active":true,"first_name":"Los
|
93
|
+
Angeles","last_name":"Dodgers","conference":"National","division":"West","site_name":"Dodger
|
94
|
+
Stadium","city":"Los Angeles","state":"California","full_name":"Los Angeles
|
95
|
+
Dodgers"},"site":{"capacity":56000,"surface":"Grass","name":"Dodger Stadium","city":"Los
|
96
|
+
Angeles","state":"California"},"away_period_scores":[0,0,1,0,0,0,0,0,0],"home_period_scores":[0,0,1,0,0,1,0,0,-1],"away_points_scored":1,"home_points_scored":2},{"event_id":"20130901-cincinnati-reds-at-colorado-rockies","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T16:10:00-04:00","season_type":"regular","away_team":{"team_id":"cincinnati-reds","abbreviation":"CIN","active":true,"first_name":"Cincinnati","last_name":"Reds","conference":"National","division":"Central","site_name":"Great
|
97
|
+
American Ball Park","city":"Cincinnati","state":"Ohio","full_name":"Cincinnati
|
98
|
+
Reds"},"home_team":{"team_id":"colorado-rockies","abbreviation":"COL","active":true,"first_name":"Colorado","last_name":"Rockies","conference":"National","division":"West","site_name":"Coors
|
99
|
+
Field","city":"Denver","state":"Colorado","full_name":"Colorado Rockies"},"site":{"capacity":50445,"surface":"Grass","name":"Coors
|
100
|
+
Field","city":"Denver","state":"Colorado"},"away_period_scores":[0,0,2,0,0,0,0,1,1],"home_period_scores":[1,1,0,0,4,0,1,0,-1],"away_points_scored":4,"home_points_scored":7},{"event_id":"20130901-san-francisco-giants-at-arizona-diamondbacks","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T16:10:00-04:00","season_type":"regular","away_team":{"team_id":"san-francisco-giants","abbreviation":"SF","active":true,"first_name":"San
|
101
|
+
Francisco","last_name":"Giants","conference":"National","division":"West","site_name":"AT&T
|
102
|
+
Park","city":"San Francisco","state":"California","full_name":"San Francisco
|
103
|
+
Giants"},"home_team":{"team_id":"arizona-diamondbacks","abbreviation":"ARI","active":true,"first_name":"Arizona","last_name":"Diamondbacks","conference":"National","division":"West","site_name":"Chase
|
104
|
+
Field","city":"Phoenix","state":"Arizona","full_name":"Arizona Diamondbacks"},"site":{"capacity":49033,"surface":"Grass","name":"Chase
|
105
|
+
Field","city":"Phoenix","state":"Arizona"},"away_period_scores":[0,1,0,3,1,0,0,0,3],"home_period_scores":[1,0,0,0,0,0,1,0,0],"away_points_scored":8,"home_points_scored":2},{"event_id":"20130901-miami-marlins-at-atlanta-braves","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T17:00:00-04:00","season_type":"regular","away_team":{"team_id":"miami-marlins","abbreviation":"MIA","active":true,"first_name":"Miami","last_name":"Marlins","conference":"National","division":"East","site_name":"Marlins
|
106
|
+
Park","city":"Miami","state":"Florida","full_name":"Miami Marlins"},"home_team":{"team_id":"atlanta-braves","abbreviation":"ATL","active":true,"first_name":"Atlanta","last_name":"Braves","conference":"National","division":"East","site_name":"Turner
|
107
|
+
Field","city":"Atlanta","state":"Georgia","full_name":"Atlanta Braves"},"site":{"capacity":50096,"surface":"Grass","name":"Turner
|
108
|
+
Field","city":"Atlanta","state":"Georgia"},"away_period_scores":[1,1,5,0,0,0,0,0,0],"home_period_scores":[0,0,0,0,0,0,0,0,0],"away_points_scored":7,"home_points_scored":0},{"event_id":"20130901-new-york-mets-at-washington-nationals","event_status":"completed","sport":"MLB","start_date_time":"2013-09-01T20:05:00-04:00","season_type":"regular","away_team":{"team_id":"new-york-mets","abbreviation":"NYM","active":true,"first_name":"New
|
109
|
+
York","last_name":"Mets","conference":"National","division":"East","site_name":"Citi
|
110
|
+
Field","city":"Flushing","state":"New York","full_name":"New York Mets"},"home_team":{"team_id":"washington-nationals","abbreviation":"WAS","active":true,"first_name":"Washington","last_name":"Nationals","conference":"National","division":"East","site_name":"Nationals
|
111
|
+
Park","city":"Washington","state":"District of Columbia","full_name":"Washington
|
112
|
+
Nationals"},"site":{"capacity":41487,"surface":"Grass","name":"Nationals Park","city":"Washington","state":"District
|
113
|
+
of Columbia"},"away_period_scores":[2,1,0,0,1,0,1,0,0],"home_period_scores":[0,1,0,1,0,0,1,3,-1],"away_points_scored":5,"home_points_scored":6}]}'
|
633
114
|
http_version:
|
634
|
-
recorded_at:
|
635
|
-
recorded_with: VCR 2.
|
115
|
+
recorded_at: Sun, 12 Apr 2015 11:30:16 GMT
|
116
|
+
recorded_with: VCR 2.9.3
|