riot_api 0.0.8 copy "riot_api: ^0.0.8" to clipboard
riot_api: ^0.0.8 copied to clipboard

outdated

This package provides an easy way to use riot account api in Dart language.

example/README.md

riot_api_example #

First, generate riot api key.

Initialize RiotApi with your api key.

RiotApi.init(apiKey: 'your-api-key'))

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);
3
likes
0
points
74
downloads

Publisher

verified publishercoaspe.com

Weekly Downloads

This package provides an easy way to use riot account api in Dart language.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, json_annotation, plugin_platform_interface

More

Packages that depend on riot_api