-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will the player
endpoints be added anytime soon?
#43
Comments
+1, interested in being able to pull a team's roster. |
Here's what I'm interested in from a |
@Abundnce10 For that use case, you might want to look at https://github.com/BurntSushi/nflgame. It pulls player stats from a source closer to the "source of truth". |
@HardcoreParkore Sweet, thanks for the link! Ultimately, I'm looking to create a Chrome Extension that inject's my own popup icon next to each player so that I can more easily look at more data from within the 'My Team' view. I was hoping to utilize an ESPN endpoint, since the request will originate from the same domain. Do you think I'll run into any issues trying to query the |
@Abundnce10 nflgame doesn't provide a public API that you can hit, it merely gives you the tools to query for and store the data from the publicly accessible NFL Game Center data. I like the sound of the extension you're planning. I think it would certainly require building your own service that responds to requests for stats, though - I don't think ESPN exposes an endpoint that provides that data. |
@danabrey correct me if I'm wrong but I believe this repo is utilizing ESPN's private API endpoints, correct? If that's the case, I'm guessing there must be endpoints for a specific player that just haven't been discovered/documented. For example, when I look at the 'Scoring Leaders' view with the 'Players' tab I see stats for individual players available on a weekly basis, so I'm guessing there is some kind of API endpoint where you can pass in a player ID and week number to get stats for a given week. I've tried looking through the network calls when that view renders but I can't seem to find any endpoints for a given player. I'm not sure how @rbarton65 originally discovered the endpoints exposed in this repo, but if anyone can help finding a player-specific endpoint I'm happy to add code to the |
@Abundnce10 I was talking about the NFL Game Center JSON, in reply to you asking if you'd run into any issues pulling data from there :) There's interesting discussion on Reddit involving @rbarton65 about how endpoints were initially discovered. It's unlikely that the data in all views is covered by an HTTP-accessible API endpoint, to me - stats pages like that could well just be rendered on the server. There's a |
I noticed the
player.py
file is empty. Do you plan to add the player endpoints to this library?The text was updated successfully, but these errors were encountered: