Skip to content

new function in riot-api #60

Open
Open
@toalt

Description

@toalt

Someone with privilges could add following code:

//Returns the challenger ladder.
public function getChallenger() {
	$call = 'league/challenger?type=RANKED_SOLO_5x5';
	//add API URL to the call
	$call = self::API_URL_2_5 . $call;
	return $this->request($call, true);
}
    //Returns the master ladder.
public function getMaster() {
	$call = 'league/master?type=RANKED_SOLO_5x5';
	//add API URL to the call
	$call = self::API_URL_2_5 . $call;
	return $this->request($call, true);
}

the challenger ladder already exists, but the master ladder was not impl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions