> For the complete documentation index, see [llms.txt](https://conradofmf.gitbook.io/loliglio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://conradofmf.gitbook.io/loliglio/classes/account.md).

# Account

Allows accessing to the puuid, gameName and tagLine of a LOL account. Official information at: <https://developer.riotgames.com/apis#account-v1>

## Methods

### by\_puuid(clusterId, puuid, get\_url=False)

Get account by puuid

**clusterId**: riot cluster ID. Accepted values: 0-2(inclusive) respective to 'AMERICAS', 'ASIA' & 'EUROPE'

**puuid**: 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\_riot\_id(clusterId, gameName, tagLine, get\_url=False)

Get account by riot id

**clusterId**: riot cluster ID. Accepted values: 0-2(inclusive) respective to 'AMERICAS', 'ASIA' & 'EUROPE'

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

**tagLine**: Tag line as shown in the League Client

**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)

###
