Skip to content

Valorant .Net API, Internal Riot API Usage, With automatic game event handlers

License

Notifications You must be signed in to change notification settings

RiisDev/RadiantConnect

Repository files navigation

C# Support Server GitHub Nuget All Releases

Main Home Page

RadiantConnect Quickstart Guide

Credits

Step 1: Download RadiantConnect from NuGet

Get started by downloading the RadiantConnect package from NuGet. You can find the package here.

dotnet add package RadiantConnect

Step 2: Initialize RadiantConnect

Initialize the RadiantConnect library by creating an instance of the Initiator class.

// Initialize RadiantConnect
Initiator Init = new Initiator();

Step 3: Hook Desired Events

Hook into the events related to the game queue to respond to various states.

// Hook into Queue events
Init.GameEvents.Queue.OnEnteredQueue += _ => {
    Debug.WriteLine("Queue Entered");
};

Init.GameEvents.Queue.OnLeftQueue += _ => {
    Debug.WriteLine("Queue Left");
};

Init.GameEvents.Queue.OnQueueChanged += queueChangeType => {
    Debug.WriteLine($"Queue Changed to: {queueChangeType}");
};

Step 4: Use Desired API Calls

Utilize the RadiantConnect API to make calls that suit your application needs. In this example, we fetch a player's MMR asynchronously.

// Fetch Player MMR asynchronously
PlayerMMR? playerMMR = await Init.Endpoints.PvpEndpoints.FetchPlayerMMRAsync(Init.ExternalSystem.ClientData.UserId);

Debug.WriteLine($"Player MMR: {playerMMR}");

Need Support?

If you have any questions, issues, or need assistance, feel free to join our Discord server. Our community is here to help!

Join our Discord Community

Feel free to explore additional API calls and events provided by RadiantConnect to enhance the functionality of your integration.


This quickstart guide provides a simple walkthrough to get you started with RadiantConnect. Refer to the detailed documentation for a comprehensive understanding of available features and customization options. Happy coding!