Base URL | http://data.nba.net/json/sl/cms/noseason/team/{teamSlug}/{summerLeagueAbbrev}/roster.json |
---|---|
Default Response Format | JSON |
Domain | Data |
Section | Cms |
Category | Roster |
Request Class | JasonRoman\NbaApi\Request\Data\Cms\Roster\SummerLeagueTeamRosterRequest |
<?php
require_once 'vendor/autoload.php'; // skip this if using a framework / autoloading elsewhere
use JasonRoman\NbaApi\Client\Client;
use JasonRoman\NbaApi\Request\Data\Cms\Roster\SummerLeagueTeamRosterRequest;
$client = new Client();
$request = SummerLeagueTeamRosterRequest::fromArrayWithExamples();
$response = $client->request($request);
<?php
require_once 'vendor/autoload.php'; // skip this if using a framework / autoloading elsewhere
use JasonRoman\NbaApi\Client\Client;
use JasonRoman\NbaApi\Request\Data\Cms\Roster\SummerLeagueTeamRosterRequest;
$client = new Client();
$request = SummerLeagueTeamRosterRequest::fromArray([
'teamSlug' => 'pistons',
'summerLeagueAbbrev' => 'SL_O',
]);
$response = $client->request($request);
Click the icon to copy the URL to your clipboard, or click the link below to open the raw result in a new window.
http://data.nba.net/json/sl/cms/noseason/team/pistons/SL_O/roster.json
Click the button to return the result as a PHP array and PHP object.
Required? | Yes |
---|---|
Type | string |
Choices: | hawks celtics nets hornets bulls cavaliers mavericks nuggets pistons warriors rockets pacers clippers lakers grizzlies heat bucks timberwolves pelicans knicks thunder magic sixers suns blazers kings spurs raptors jazz wizards |
Required? | Yes |
---|---|
Type | string |
Choices: | SL_O SL_U SL_V |
Change any of the filterable values here and submit the form to get results with your chosen filters. This will also give you the corresponding URL as well as the code used to generate the result.