hans-peter-ording/sleeper-api-client

Client library to consume the sleeper API (https://docs.sleeper.app/) and transform results into data transfer objects.


README

Twitter Follow

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