# Summoner

Allows access to the information of a specific summoner. Returns a SummonerDTO

## Methods

### by\_account(regionId, encryptedAccountId, get\_url=False)

Get a summoner SummonerDTO by account ID

**regionId**: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'

**encryptedAccountId**: Summoner IDs are only unique per region. Different APIs use different IDs

**get\_url**: When true, don't make an API call and returns the url connection

**return**: JSON object retrieved from riot API call (or link when get\_url is True)

### by\_name(regionId, summonerName, get\_url=False)

Get a summoner SummonerDTO by summoner name.

**regionId**: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'

**summonerName**: Name as shown in the League Client (can contain not-alphabetic chars)

**get\_url**: When true, don't make an API call and returns the url connection

**return**: JSON object retrieved from riot API call (or link when get\_url is True)

### by\_puuid(regionId, encryptedPUUID, get\_url=False)

Get a summoner SummonerDTO by PUUID

**regionId**: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'

**encryptedPUUID**: Public User ID's are globally unique. Different APIs use different IDs

**get\_url**: When true, don't make an API call and returns the url connection

**return**: JSON object retrieved from riot API call (or link when get\_url is True)

### by\_encrypted\_summoner\_id(regionId, encryptedSummonerId, get\_url=False)

Get a summoner SummonerDTO by summoner ID

**regionId**: LOL server ID. Accepted values: 0-11(inclusive) for 'BR1', 'EUN1', 'EUW1', 'JP1', 'KR', 'LA1', 'LA2', 'NA1', 'OC1', 'RU' & 'TR1'

**encryptedSummonerId**: Summoner IDs are only unique per region. Different APIs use different IDs

**get\_url**: When true, don't make an API call and returns the url connection

**return**: JSON object retrieved from riot API call (or link when get\_url is True)
