# Spectator

Allows the request of information of lives game

## Methods

### active\_games\_by\_summoner(regionId, encryptedSummonerId, get\_url=False)

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

### featured\_games(regionId, get\_url=False)

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

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