Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 573 Bytes
<?php
namespace JasonRoman\NbaApi\Request\Data\Prod\Stats;
use JasonRoman\NbaApi\Request\Data\Prod\AbstractDataProdRequest;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Get team rankings for various stats for a season. This includes preseason, regular season, and playoffs.
*/
class TeamStatsRankingsRequest extends AbstractDataProdRequest
{
const ENDPOINT = '/prod/v1/{year}/team_stats_rankings.json';
/**
* @Assert\NotBlank()
* @Assert\Type("int")
* @Assert\Range(min = 2015)
*
* @var int
*/
public $year;
}
You can’t perform that action at this time.