Where do I find an athlete ID list? So for example, on headlines, I could pass a particular athleteID, where do I get that?
Message edited by RedSquadron 11 months ago
1 year ago
This was an oversight on our part and on our list to fix. In the future you'll be able to simply query the Teams or Athletes API to get a list of Athlete IDs.
While we work on making that available, the easiest way to get this is to find the athlete's page on ESPN.com (i.e. http://espn.go.com/mlb/player/_/id/3246/derek-jeter) and use the ID from the URL path. The IDs used in our player pages are the same ID used for querying news against the API.
Example of Derek Jeter news:
Hope this helps.
12 months ago
I screen scraped all the MLB player IDs. If ESPN allows I'll post a link to a CSV here.
11 months ago
We're planning to open up access to athlete ID/name info info in the next couple of weeks. We'll make the announcement on our front page once this is ready. This will allow developers to paginate through and get every ID associated with the athletes in our systems.
sbauch and RedSquadron,
Basic athlete info (ID, name, links) is now accessible across every access tier.
To get a list of athlete IDs within a given sports league you'd make a request like this:
You can then paginate through to get all the IDs.
Please sign in to add a post.