Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new function in riot-api #60

Open
toalt opened this issue Dec 9, 2016 · 1 comment
Open

new function in riot-api #60

toalt opened this issue Dec 9, 2016 · 1 comment

Comments

@toalt
Copy link

toalt commented Dec 9, 2016

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.

@kevinohashi
Copy link
Owner

kevinohashi commented Dec 9, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants