> 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/version.md).

# Version

Allow access to version information available on DataDragon

## Methods

### versions(get\_url=False)

Get a JSON list with all version strings

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

### last\_version(get\_url=False)

Get a string of the last version

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