public function getThirdPartyCodeBySummonerId( string $encrypted_summoner_id )
	{
		$resultPromise = $this->setEndpoint("/lol/platform/" . self::RESOURCE_THIRD_PARTY_CODE_VERSION . "/third-party-code/by-summoner/{$encrypted_summoner_id}")
			->setResource(self::RESOURCE_THIRD_PARTY_CODE, "/third-party-code/by-summoner/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(string $result) {
			return $result;
		});
	}
public function getThirdPartyCodeBySummonerId( string $encrypted_summoner_id )
	{
		$resultPromise = $this->setEndpoint("/lol/platform/" . self::RESOURCE_THIRD_PARTY_CODE_VERSION . "/third-party-code/by-summoner/{$encrypted_summoner_id}")
			->setResource(self::RESOURCE_THIRD_PARTY_CODE, "/third-party-code/by-summoner/%s")
			->makeCall();

		return $this->resolveOrEnqueuePromise($resultPromise, function(string $result) {
			return $result;
		});
	}
public function getThirdPartyCodeBySummonerId ( string $ encrypted_summoner_id ) { $ resultPromise = $ this -> setEndpoint ( "/lol/platform/" . self :: RESOURCE_THIRD_PARTY_CODE_VERSION . "/third-party-code/by-summoner/{$encrypted_summoner_id}" ) -> setResource ( self :: RESOURCE_THIRD_PARTY_CODE , "/third-party-code/by-summoner/%s" ) -> makeCall ( ) ; return $ this -> resolveOrEnqueuePromise ( $ resultPromise , function ( string $ result ) { return $ result ; } ) ; }
Get third party code for given summoner ID.

@param string $encrypted_summoner_id

@return string

@throws SettingsException
@throws RequestException
@throws ServerException
@throws ServerLimitException
@throws GeneralException

@link https://developer.riotgames.com/api-methods/#third-party-code-v4/GET_getThirdPartyCodeBySummonerId
Get third party code for given summoner ID .