You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getCode($region, $summoner_id) {
$region_finder = new Region();
$api = new LeagueAPI([
LeagueAPI::SET_KEY => $this->riotKey,
// Target region (you can change it during lifetime of the library instance)
LeagueAPI::SET_REGION => $region_finder->getRegionName($region),
]);
$code = $api->getThirdPartyCodeBySummonerId($summoner_id);
dd($code);
}
The text was updated successfully, but these errors were encountered:
That actually shouldn't be problem of the library itself, this endpoint is still proving to be unreliable and quite broken most of the time - even when client reports that third party code has been successfully saved, it is quite often impossible to retreive the code through the API.
Code to reproduce:
The text was updated successfully, but these errors were encountered: