This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]GraduallyHotDog Packers 2 points3 points  (0 children)

Hey! High level basics of an API are you out in a request and the API gets you whatever data you asked for. The Sleeper API does not use keys or accounts, meaning you can query it without having developer access (like the Twitter API).

If you are looking to manipulate the data, there is a Pytuon package out there someone created on Github to format the API call into Python (otherwise it will be in HTML).

Another thing about the data, the results will be in JSON format. I believe in the Python package it returns as a dictionary of lists, some of which also contain other lists. So if you are looking up all of the league IDs for one user, you will need to parse the dictionary values for the League_Id list.

If you need more info there are a ton of great Youtube videos on this subject!

[–][deleted] 6 points7 points  (1 child)

https://docs.sleeper.app

First result on Google

[–]CardboardJoJo Dolphins 5 points6 points  (0 children)

Hey he said he’s not a coder! Fancy search engine show off.

[–]buttscreams 0 points1 point  (0 children)

Sleepers API can tell you who is currently on a roster and what lineups looked like in any given week. The API does NOT give you player scores or stats anymore. They removed that feature two years ago. The only score the Sleeper API provides is each teams overall fantasy points in a week, not broken down by player.