-
Notifications
You must be signed in to change notification settings - Fork 40
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
GetMatches and rate limiting #71
Comments
@SeaRoth It should already be done, I'm getting the timeline in my match calls, are you not? |
Yeah, maybe I'm doing something wrong, both getMatches and getMatch are returning null. Output:Code:
Api Key Usage: |
I'll take a look at it later tonight after work, but that looks like it should be working |
Thanks boss! xD |
Looks like my laptop isn't working at home lmao, I can take a look at it more when I get to work tomorrow, sorry bud! I also haven't used getMatches before with an array, usually I just use the array and loop through it doing getMatch calls. If you want to take a look at a big example of how I'm using the api check out : https://github.com/dakotawashok/loldashboard/blob/master/app/Http/Controllers/SummonerController.php |
@SeaRoth Looks like you're right! getMatches isn't working, and it looks like it's because of a currently undefined method on line 183 of php-riot-api.php called requestMultiple(). I've altered your code to work around this: `$name = "The SeaRoth";
and the output works. Note that I've replaced your echos with my log function, but they both do the same thing :) |
Is there a timeline for completion of the $api->getMatches($ids, $timeline=true) ?
The text was updated successfully, but these errors were encountered: