> For the complete documentation index, see [llms.txt](https://leagueoflegends-js.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leagueoflegends-js.gitbook.io/docs/using-the-api.md).

# Using The API

## Generating The API Key

To get an API key from Riot Games API, you must have a Riot Games account ready. After you log in into your account on [this site](https://developer.riotgames.com/), you can go to your dashboard.

After you go to your dashboard, you can see your Development API Key which expires after 24 hours. If you want a permanent API key, you have to[ Register for a Product.](https://developer.riotgames.com/app-type)
