A Python API wrapper for Sleeper Fantasy sports, as well as tools to simplify received data.
Project description
sleeper-api-wrapper
A Python API wrapper for Sleeper Fantasy Sports, as well as tools to simplify data received. It makes all endpoints found in the Sleeper API docs: https://docs.sleeper.app/ available and turns the JSON response received into Python types for easy usage.
Ownership was transferred from @SwapnikKatkoori to @dtsong in March 2022 to continue efforts. Original Repository: https://github.com/SwapnikKatkoori/sleeper-api-wrapper
Table of Contents
Project Roadmap
- Establish solid CICD practices with automated testing and validation of pull requests via GitHub Actions
- Ensure libraries are up to date and secure.
- Update endpoints and logic with the current Sleeper API docs
- Investigate performance optimization (effort, implementation, etc)
Want to help? Send me a message to @dtsong
Install
pip install sleeper-api-wrapper
Documentation
There are five objects in the package that get data from the Sleeper API. Most of them are intuitive based on the Sleeper API docs, but full documentation for the Python objects and their methods can be found in the docs
folder. There are some bespoke methods for transforming the data into more useful structures in addition to the methods that directly call the API.
Notes
This package is intended to be used by Python version 3.8 and higher. There might be some wacky results for previous versions.
Dependencies
- Used for all http requests in sleeper_wrapper
- Used for all testing in sleeper_wrapper
License
This project is licensed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sleeper_api_wrapper-1.1.0.tar.gz
.
File metadata
- Download URL: sleeper_api_wrapper-1.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.1 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be6483dddfed2e1d2257a918f4270b0897cd5907bef9b9b49da8b588155b8787 |
|
MD5 | dc179aaf3a9df61d9e346c29939e8759 |
|
BLAKE2b-256 | 0855273105ec2b4751707dd3285770338fc86110bca4d3163557c61bf789ea58 |
File details
Details for the file sleeper_api_wrapper-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: sleeper_api_wrapper-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.1 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9925350e223391420326b5557cbba8c4b7fc42cd9f50d82f76daab94c160106 |
|
MD5 | 1bdff35cfccd59554e859f94a6ce2135 |
|
BLAKE2b-256 | 2adac422c4af3c47dc0b0931416776ab914a57b932bfadecd160d57d9e566a33 |