Quick Start

Setting up RiotQuest is not difficult and can be done in less than a minute.

Environment Variables

RiotQuest uses environment variables to keep your API keys safe and to prevent them being exposed to the user.

You'll need two environment variables to use RiotQuest.

RIOTQUEST_STANDARD_KEY=RGAPI-1234-abcd.... # Riot Games API key
RIOTQUEST_STANDARD_LIMIT=60:20 # 60 requests every 20 seconds

Bootstrapping

The framework is lazily loaded. This means no RiotQuest code will run until you explicitly tell it to.

To load the entire framework simply run the boot() function.

use RiotQuest\Client;

Client::boot();