I'm not having a lot of success using the 'limit' parameter. If I wanted to get a certain subset of games from one baseball team during a particular period, is it possible to use limit like: http://api.espn.com/v1/sports/baseball/mlb/teams/2/events?dates=2010&limit=10 ?
Message edited by Moment 1 year ago
1 year ago
As the events feeds are currently in beta, not all features have been implemented. The limit parameter is one of them. I'll see about adding that to the feature request bucket so we can track it.
Also, it's good practice not to hit the full YEAR/SEASON call as it does tend to return a lot of results. If you'd like to limit you can do so by month using ?dates=YYYYMM instead.
We currently do not support date ranges, but do have a feature request to support last, current and next game for a team/sport in the API.
1 year ago
Thanks for the response, and the tip about filtering by month. Looking forward to more exploration - you guys have developed a pretty amazing tool.
Please sign in to add a post.