riot_api

Creator: coderz1093

Last updated:

0 purchases

riot_api Image
riot_api Images
Add to Cart

Description:

riot api

riot_api #
This package provides an easy way to use Riot account api in Dart language.
If you want League of Legends api package visit here.

Riot account api

ACCOUNT-V1



Requirements #
Here are what you need to use the Dart SDK:

Dart 2.19.0 or higher

Example #
First, generate riot api key.
Initialize RiotApi with your api key.
RiotApi.init(apiKey: 'your-api-key'))
copied to clipboard
And use APIname.queryFunction form to call query function.
You can check available api.
const puuid = 'your-puuid';

// Get account information by puuid.
final user = await AccountV1.getAccountByPuuid(PlatformValues.asia, puuid);

// Get account information by gameName and tagLine.
final user2 = await AccountV1.getAccountByRiotId(PlatformValues.asia, gameName, tagLine);
copied to clipboard
Additional packages #
We provide other Riot api packages:

lol_api
val_api
tft_api
lor_api (Not supported yet)

How to Contribute #
If you want to contribute to this repository:

repo

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator