hans-peter-ording / sleeper-api-client
Client library to consume the sleeper API (https://docs.sleeper.app/) and transform results into data transfer objects.
Installs: 1 202
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=8.0
- php-http/discovery: ^1.9@dev
- php-http/logger-plugin: ^1.2@dev
- psr/http-client: ^1.0@dev
- symfony/property-access: ^6.0|^7.0
- symfony/serializer: ^6.0|^7.0
- dev-main
- 1.1.1
- 1.1.0
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.0
- dev-bugfix/duplicate-matchup-ids
- dev-feature/importer
- dev-upsidebowl
- dev-bugfix/mimbrawl
- dev-feature/mmmppr
- dev-feature/season2024
- dev-feature/dffl
- dev-feature/prepare-2023
- dev-feature/mim-brawl
- dev-feature/rankings
- dev-feature/tidt
- dev-feature/co-owners
- dev-feature/arcadebowl
- dev-feature/matchup-analytics
- dev-experimental/dst
- dev-feature/stats-allowed
- dev-feature/final-league
- dev-feature/sleeper-db
- dev-release/1.0
- dev-develop
- dev-feature/drl
- dev-feature/first-try
- dev-feature/basic-setup
This package is auto-updated.
Last update: 2025-03-18 09:15:53 UTC
README
API Client to consume the Sleeper API (https://docs.sleeper.app/) with a PSR-18 compatible HTTP Client and transform results into DTO.
Package contains:
- Data transfer objects (DTO)
- API client factory
- API client with endpoints
Documentation
Read the tutorial here:
Documentation for SleeperApiClient can be found at Read the docs
Installation
Installation instructions can be found in the documentation
Versions & Dependencies
Version 0.9 of the SleeperApiClient is compatible with Sleeper API V1. It requires a PSR-18 compatible HTTP-Client (i.e. Symfony Http Client). The following table shows the compatibilities of different versions of the bundle.
SleeperApiClient | Sleeper API | PHP |
---|---|---|
[0.9] (main) | ^1.0 | >=8.0 |
License
This bundle is released under the MIT license. See the included LICENSE file for more information.
Contribute / Community
TBD