ScheduleMatchup endpoints
Returns information on real NFL matchups
List schedule matchups
Description
Returns the list of real NFL matchups for the given season type and season.
URL
https://api.sleeper.com/schedule/nfl/<season_type>/<season>
Parameters
- season_type:
List schedule matchups for ‘regular’, ‘post’, ‘pre’ or ‘off’ season type.
- season:
List schedule matchups for this season.
Data transfer objects
HansPeterOrding\SleeperApiClient\Dto\SleeperScheduleMatchup[]
Example
1<?php
2
3use HansPeterOrding\SleeperApiClient\ApiClient\Endpoints\AbstractEndpoint;
4
5/*
6 * Returns the schedule matchups of the regular season of NFL season 2022
7 */
8$players = $client->scheduleMatchup->list(
9 2022,
10 AbstractEndpoint::SEASON_TYPE_REGULAR
11);