kRapaille / LeagueOfLegendsAPI

Portable C# Library for League of legends API
http://xeex.github.io/LeagueOfLegendsAPI
MIT License
19 stars 7 forks source link

I'm not maintining this project anymore. Feel free to fork it or use RiotSharp.

Portable C# Library for League of Legends API

Install

PM> Install-Package Remake.PortableLeagueAPI

Example


var leagueAPI = new LeagueApi("YOUR API KEY HERE", RegionEnum.Euw, true);

var summoner = await leagueAPI.Summoner.GetSummonerByNameAsync("TuC Ølen");
var recentGames = await summoner.GetRecentGamesAsync();

var item = await leagueAPI.Static.GetItemsAsync(
  1001, 
  ItemDataEnum.All, 
  languageCode: LanguageEnum.French);

var imageUrl = await item.Image.GetUrlAsync();

Note : By default the library doesn't check for the rate limit. But if you want to wait when you reach it, set the third parameter in the LeagueAPI constructor to true.

Notes

Status

Dev

PortableLeagueAPI Build Status

NuGet

NuGet version

Last changes

Check it here

Disclaimer

This product is not endorsed, certified or otherwise approved in any way by Riot Games, Inc. or any of its affiliates.

Contact

Do not hesitate to reach me on twitter @kRapaille or by mail