Type
Improvement
Status
Open
Reported By
Henry Knowles
Component
API
Votes
Created
28/Mar/14 8:51 PM EDT
Tracking
Sign in to track this issue
Description
I just noticed since I started getting the MLB events I was hitting the 6 rate limit per minute. I like to grab a few extra days games out to see whats upcoming. Since there were no games scheduled for MLB yet I had my script to search until it found the next days and it caused a lot of rate limits. Maybe have parameters such as datestart and dateend so less requests have to be sent to acquire those upcoming games. <a href="/events.json?sport=mlb&datestart=20140328&dateend=20140403">/events.json?sport=mlb&datestart=20140328&dateend=20140403</a>
Comments
1. Erik Berg 2/Apr/2014 at 6:29 PM EDT
Is there a way to add date range parameters and retain the existing result structure? One reason the "events_date" field is included in the result is because the method can be requested without a date parameter. It may not always be obvious to the requester based on their time zone and the hour of the day why one date was returned and not another. This field aims to clear any confusion about what date is being used to return the list of events. { "events_date" : "2014-04-02T00:00:00-04:00", "event" : [ { event object }, event object } ] }