Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riisdev/radiantconnect

Valorant .Net API Wrapper, Offers RSO, Internal API Usage, XMPP, TCP, Game Events, Image Recognition
https://github.com/riisdev/radiantconnect

auth right-sign-on riot riot-auth rso tcp valorant valorant-api xmpp

Last synced: about 1 month ago
JSON representation

Valorant .Net API Wrapper, Offers RSO, Internal API Usage, XMPP, TCP, Game Events, Image Recognition

Awesome Lists containing this project

README

        

![C#](https://img.shields.io/badge/-.NET%208.0-blueviolet?style=for-the-badge&logo=windows&logoColor=white) [![Support Server](https://img.shields.io/discord/477201632204161025.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge)](https://discord.gg/yyuggrH) ![GitHub](https://img.shields.io/github/license/IrisV3rm/RadiantConnect?style=for-the-badge) ![Nuget All Releases](https://img.shields.io/nuget/dt/RadiantConnect?label=Nuget%20Downloads&style=for-the-badge)

[Main Home Page](https://irisapp.ca/RadiantConnect/Home/index.html)

# RadiantConnect Quickstart Guide

## Credits

### Huge Credits molenzwiebel for his Deceive code, helping make MITM Connection
* XMPP MITM Integration: @molenzwiebel | [Decieve](https://github.com/molenzwiebel/Deceive)

* Get Version From Executable: @floxay | [get_client_version.py](https://gist.github.com/floxay/a6bdacbd8db2298be602d330a43976da)
* Riot API Documentaiton: @techchrism | [Valorant API Docs](https://valapidocs.techchrism.me/)
* And can not stress this enough, the nice people at [Valorant App Developer Discord](https://discord.gg/a9yzrw3KAm) for assisting all the time.

## Step 1: Download RadiantConnect from NuGet

Get started by downloading the RadiantConnect package from NuGet. You can find the package [here](https://www.nuget.org/packages/RadiantConnect).

```bash
dotnet add package RadiantConnect
```

## Step 2: Initialize RadiantConnect

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

```csharp
// 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.

```csharp
// 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.

```csharp
// 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**](https://discord.gg/yyuggrH)

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!