derek-adair / nflgame

A working snapshot of nflgame (for historic purposes). This project is no longer active.
http://nflgame.derekadair.com
The Unlicense
331 stars 100 forks source link

Player ESB IDs #112

Closed mrcaseb closed 4 years ago

mrcaseb commented 4 years ago

I am looking for a method to get some special NFL player information. To be precise, I want to find out what the player's corresponding esb id is via the gsis id. Or even better: I need the headshot url on nfl.com (which is built over the esb_id). If I understand this correctly, then you load the player data via the json file belonging to the package. Can you add esb_id or headshot url? Or is there a method how we can access the NFL api directly? Because I believe I need the Person domain (see https://api.nfl.com/docs/league/models/person/index.html)

derek-adair commented 4 years ago

The official nfl api has nothing to do with this project. I am unsure how one even gets access to this. If you know, please let me know.

However, there is an undocumented public nfl api. If all you need is a headshot of each player you'd be better off just making these api calls directly from this api. You can see how you might explore their api in this thread.

derek-adair commented 4 years ago

Closing because this isn't a support forum; please post questions like this to stack overflow. If you have a specific feature request or bug request feel free to submit a new issue.

mrcaseb commented 4 years ago

Yes, Sir and thanks for the hint to the thread!

AccidentalGuru commented 4 years ago

I got this message while poking around on the links from #46 : http://feeds.nfl.com/ is deprecated. Please use https://api.nfl.com/ moving forward. Credentials are required, please reach out to DM.ProductOps@nfl.com to request them. I emailed as requested and will let you know if I get access, or a crew of retired Linebackers show up on my doorstep. Had been looking for the right place to post this info, and this seems right.