Skip to content

TheGameVlog/Valorant-API-CSharp-Wrapper

Repository files navigation

Valorant-API CSharp Wrapper

Simple to use .NET Wrapper to connect to Valorant-API.com

Getting Started

           ValorantClient vClient = new ValorantClient();
           List<Agents> allAgents = vClient.GetAgents();
           Console.WriteLine(allAgents[0].DisplayName);

Features

Classes Created for Object Types with Properties which makes fetching data more easier

Example Agents Class

    public class Agents
    {
        [JsonProperty("uuid")]
        public string Uuid { get; set; }

        [JsonProperty("displayName")]
        public string DisplayName { get; set; }

        [JsonProperty("description")]
        public string Description { get; set; }

        [JsonProperty("developerName")]
        public string DeveloperName { get; set; }

        [JsonProperty("characterTags")]
        public List<string> CharacterTags { get; set; }

        [JsonProperty("displayIcon")]
        public string DisplayIcon { get; set; }

        [JsonProperty("displayIconSmall")]
        public string DisplayIconSmall { get; set; }

        [JsonProperty("bustPortrait")]
        public string BustPortrait { get; set; }

        [JsonProperty("fullPortrait")]
        public string FullPortrait { get; set; }

        [JsonProperty("assetPath")]
        public string AssetPath { get; set; }

        [JsonProperty("isFullPortraitRightFacing")]
        public bool IsFullPortraitRightFacing { get; set; }

        [JsonProperty("isPlayableCharacter")]
        public bool IsPlayableCharacter { get; set; }

        [JsonProperty("isAvailableForTest")]
        public bool IsAvailableForTest { get; set; }

        [JsonProperty("role")]
        public Role Role { get; set; }

        [JsonProperty("abilities")]
        public List<Ability> Abilities { get; set; }
    }

WPF Example

A WPF Example and Console Application Example is included in this Repo.

To Do

As of now the wrapper only includes objects for Agents, Buddies, Bundles, Maps, ContentTiers support for more will be added shortly.

Developed and Maintained By

The Game Vlog

thegamevlog thegamevlogcom

Credits

https://valorant-api.com/

Riot Games, Valorant, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

About

Simple to use .NET Wrapper for valorant-api.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages