https://github.com/witoo-source/easyvalorantapi
An easy Valorant API based on the unofficial-valorant-api developed by Henrik Dev's ❤️
https://github.com/witoo-source/easyvalorantapi
Last synced: over 1 year ago
JSON representation
An easy Valorant API based on the unofficial-valorant-api developed by Henrik Dev's ❤️
- Host: GitHub
- URL: https://github.com/witoo-source/easyvalorantapi
- Owner: witoo-source
- License: mit
- Created: 2024-09-11T01:26:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T02:17:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-25T15:32:28.740Z (over 1 year ago)
- Language: C#
- Homepage: https://witto.es
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# An Easy Valorant API for C#, for you! ❤️

### About
- This API is based on [Henrik Dev's Valorant API](https://docs.henrikdev.xyz).
- This API just make the HTTP Requests to the original API endpoints and return their responses, it does not add any new endpoint.
- This API requires an API KEY, you can get one [here](https://discord.gg/X3GaVkX2YN)
### Installing
```bash
dotnet add package EasyValorantAPI --version 0.0.3
```
### Available endpoints
- ```Evapi.GetPlayerDataByUser```
- [ PARAMS ]: `name: string`, `tag: string`
- ```Evapi.GetPlayerDataByPUUID```
- [ PARAMS ]: `puuid: string`
- ```Evapi.GetContent```
- ```Evapi.GetCrosshair```
- [ PARAMS ]: `crooshairId: string`
- ```Evapi.GetEsportsSchedule```
- [ PARAMS ]: `region: string`, `league: string`
- ```Evapi.GetLeaderboardByUser```
- [ PARAMS ]: `name: string`, `tag: string`, `platform: string`, `region: string`, `season: string`
- ```Evapi.GetLeaderboardByPUUID```
- [ PARAMS ]: `puuid: string`, `platform: string`, `region: string`, `season: string`
- ```Evapi.GetMatchHistoryByUser```
- [ PARAMS ]: `name: string`, `tag: string`, `platform: string`, `region: string`, `mode?: string`, `map?: string`, `size?: string`
- ```Evapi.GetMatchHistoryByPUUID```
- [ PARAMS ]: `puuid: string`, `platform: string`, `region: string`, `mode: string`, `map: string`, `size: string`
- ```Evapi.GetMatchByID```
- [ PARAMS ]: `matchID: string`
- ```Evapi.GetMMRHistoryByUser```
- [ PARAMS ]: `name: string`, `tag: string`, `region: string`
- ```Evapi.GetMMRHistoryByPUUID```
- [ PARAMS ]: `puuid: string`, `region: string`
- ```Evapi.GetMMRByUser```
- [ PARAMS ]: `name: string`, `tag: string`, `region: string`, `platform: string`
- ```Evapi.GetMMRByPUUID```
- [ PARAMS ]: `puuid: string`, `region: string`, `platform: string`
- ```Evapi.GetPremierDetailsByTeamName```
- [ PARAMS ]: `team_name: string`, `team_tag: string`
- ```Evapi.GetPremierHistoryByTeamName```
- [ PARAMS ]: `team_name: string`, `team_tag: string`
- ```Evapi.GetPremierDetailsByTeamID```
- [ PARAMS ]: `team_id: string`
- ```Evapi.GetPremierHistoryByTeamID```
- [ PARAMS ]: `team_id: string`
- ```Evapi.GetCurrentPremierTeams```
- ```Evapi.GetPremierConferences```
- ```Evapi.GetAllPremierSeasons```
- [ PARAMS ]: `region: string`
- ```Evapi.GetPremierLeaderboard```
- [ PARAMS ]: `region: string`
- ```Evapi.GetPemierLeaderboardByConference```
- [ PARAMS ]: `region: string`, `conference: string`
- ##### *There will be more soon!*
### Usage Example
```cs
using System;
using System.Threading.Tasks;
using EasyValorantAPI;
class Test {
static async Task Main(string[] args) {
Evapi Api = new Evapi("ApiKey");
// Using this method to get User Info by Name & Tag
dynamic UserInfo = await Api.GetPlayerDataByUser("example", "12AB");
// Printing value of "name" provided by JSON Response
Console.WriteLine(UserInfo.data.name);
}
}
```
### Notes
- You gotta put all params on the same order they are set here.
- Params with *`?`* in their names are not required.