api_setup: setup the api

Description Usage Arguments Details

Description

Use this function to set up the usual region and key you want to use.

Usage

1
api_setup(api_key, region)

Arguments

api_key

a character

region

a character, must be one of "br", "eune", "euw", "kr", "lan", "las", "na", "oce", "ru" or "tr"

Details

Get your key at https://developer.riotgames.com/


Tutuchan/lolapi documentation built on May 9, 2019, 5:17 p.m.