No way to request MLB doubleheader through API

Issue No. 105

Type

Bug

Status

Closed

Reported By

web

Component

API

Resolution

Fixed

Votes

2

Created

5/Oct/12 12:49 PM EDT

Closed

17/Apr/2013 10:11 AM EDT

Description

There is no way to request the second game of MLB doubleheader. All links on web site point to the first game of the doubleheader. For example, Colorado and Houston played a doubleheader on May 28, but both game links point to 20120528-houston-astros-at-colorado-rockies.

Closing Comment

The event_id now takes an optional parameter that can be used to indicate the first, second, or nth event played on the same date. yyyyMMdd-eventSequence-awayteamid-at-hometeamid where eventSequence is 1 or higher. If eventSequence is omitted (default), the first event is returned. So, 20120411-chicago-white-sox-at-cleveland-indians and 20120411-1-chicago-white-sox-at-cleveland-indians refer to the same event. 20120411-2-chicago-white-sox-at-cleveland-indians refers to the second event played that day. <a href="/api#boxscore">/api#boxscore</a>