Skip to content

NovoDwarf/OpenDota.NET

 
 

Repository files navigation

OpenDota.NET

.NET wrapper for the OpenDota API

The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays.

Full documentation is available on OpenDota.

Some of the data types can be found in the dotaconstants repository.

NuGet version

Example

var openDota = new OpenDotaApi();
var matchDetails = await openDota.Matches.GetMatchByIdAsync(4986133311);

Console.WriteLine($"{matchDetails.RadiantTeam.Name} vs {matchDetails.DireTeam.Name} - {matchDetails.RadiantScore}:{matchDetails.DireScore}.");
Console.WriteLine($"Duration of game: {TimeSpan.FromSeconds(matchDetails.Duration):mm\:ss}.");

About

C# Wrapper for the OpenDota.com API

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C# 100.0%