RiotGames (riot_games_client v0.1.0)
Summary
Functions
Fetches a Riot Games account by its PUUID.
Fetches a Riot Games account by its Riot ID.
Fetches the active shard for a Riot Games account.
Fetches an endpoint for Riot Games' API.
Callback implementation for Application.start/2.
Functions
Link to this function
account_by_puuid(region, puuid)
Fetches a Riot Games account by its PUUID.
Required
region- The region to fetch the account from.puuid- The PUUID of the account to fetch.
Link to this function
account_by_riot_id(region, game_name, tag_line)
Fetches a Riot Games account by its Riot ID.
Required
region- The region to fetch the account from.game_name- The game name of the account to fetch.tag_line- The tag line of the account to fetch.
Link to this function
active_shard(region, game, puuid)
Fetches the active shard for a Riot Games account.
Required
region- The region to fetch the active shard for.game- The game to fetch the active shard for. Valid values areval, orlorpuuid- The PUUID of the account to fetch the active shard for.
Link to this function
get(region, path, path_params \\ [], params \\ [])
Fetches an endpoint for Riot Games' API.
Required
region- The region to fetch the endpoint from.path- The path to fetch the endpoint from.
Optional
path_params- The path parameters to use in the endpoint.params- The query parameters to use in the endpoint.
Link to this function
start(type, args)
Callback implementation for Application.start/2.