Replies: 6 comments 5 replies
-
What's the full URL you are using for these? Tried |
Beta Was this translation helpful? Give feedback.
-
Interesting, I was just using |
Beta Was this translation helpful? Give feedback.
-
Weird, but good find! I wonder how many endpoints are hidden outside of the I can/will add supports for these endpoints soon.. thank you! |
Beta Was this translation helpful? Give feedback.
-
TODO
|
Beta Was this translation helpful? Give feedback.
-
I'll start a working list of undocumented endpoints I've found here. All will use base url Roster Related:
Stats/Projections:
NFL Related:
There's also a graphql endpoint that most of the requests on the sleeper website are made through - that might be outside the scope of this library though. I'm happy to help out on any of this work, just let me know! |
Beta Was this translation helpful? Give feedback.
-
@ssnider21 Please let me know what you think:
|
Beta Was this translation helpful? Give feedback.
-
There's a decent number of api endpoints that aren't included in sleeper's docs, particularly the stats endpoints. Do you have any interest in adding these? I can work on adding some if so. Would be beneficial to both this library and leeger in my opinion.
Examples:
/stats/nfl/player/{player_id}?season_type=regular&season={year}&week={week_number}
to get a player's stats for a single week/stats/nfl/{year}/{week_number}?season_type=regular&position[]=DEF&position[]=K&position[]=QB&position[]=RB&position[]=TE&position[]=WR
to get all stats for a weekstats
in both above endpoints withprojections
Beta Was this translation helpful? Give feedback.
All reactions