PHP Class LeagueWrap\Api\Stats

Inheritance: extends AbstractApi
Show file Open project: paquettg/leaguewrap

Protected Properties

Property Type Description
$defaultRemember integer The amount of time we intend to remember the response for.
$permittedRegions A list of all permitted regions for the Stats api call.
$season string The season we wish to get the stats from. Null will return the stats of the current season.
$versions array Valid version for this api call.

Public Methods

Method Description
getDomain ( ) : String
ranked ( mixed $identity ) : array Gets the stats for ranked queues only by summary id.
setSeason ( string $season ) Sets the season param to the given input.
summary ( mixed $identity ) : array Gets the stats summary by summoner id.

Method Details

getDomain() public method

public getDomain ( ) : String
return String domain used for the request

ranked() public method

Gets the stats for ranked queues only by summary id.
public ranked ( mixed $identity ) : array
$identity mixed
return array

setSeason() public method

Sets the season param to the given input.
public setSeason ( string $season )
$season string

summary() public method

Gets the stats summary by summoner id.
public summary ( mixed $identity ) : array
$identity mixed
return array

Property Details

$defaultRemember protected property

The amount of time we intend to remember the response for.
protected int $defaultRemember
return integer

$permittedRegions protected property

A list of all permitted regions for the Stats api call.
protected $permittedRegions

$season protected property

The season we wish to get the stats from. Null will return the stats of the current season.
protected string $season
return string

$versions protected property

Valid version for this api call.
protected array $versions
return array