EasyRiotApi 1.0.0

dotnet add package EasyRiotApi --version 1.0.0
                    
NuGet\Install-Package EasyRiotApi -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasyRiotApi" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EasyRiotApi" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="EasyRiotApi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EasyRiotApi --version 1.0.0
                    
#r "nuget: EasyRiotApi, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EasyRiotApi@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EasyRiotApi&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=EasyRiotApi&version=1.0.0
                    
Install as a Cake Tool

Easy Riot API

Description

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.

Usage

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"
  }
}

To do:

  • [] If application is approved, implement all API calls
  • [] Allow end user to specify if the library should retry on failure
  • [] Implement caching of data

Support

If you find this library helpful, you can support its development by making a donation:

Donate with PayPal

Thank you for your support!

Disclaimer

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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 125 8/3/2024

Initial release.