This is a simple Dotnet 8 wrapper around the Riot API. Main focus is to make it easy to call the Riot API and get the data you need. Retry logic is not included and should be handled by the consumer. Not every API call is implemented, as the application process for a production key is currently in progress.
The riot API consists of many different group of API endpoints. Every group is represented as a service in the EasyRiotApi. To be able to use each service, simply call the AddEasyRiotApi() extension method on the IServiceCollection in the ConfigureServices method in the Startup.cs file.
services.AddEasyRiotApi(configuration);
The configuration object should contain the following properties:
{
"EasyRiotApi": {
"ApiKey": "YOUR_API_KEY"
}
}
- [] If application is approved, implement all API calls
- [] Allow end user to specify if the library should retry on failure
- [] Implement caching of data
If you find this library helpful, you can support its development by making a donation:
Thank you for your support!
EasyRiotApi isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.