OpenDotaApi

A .Net wrapper for the OpenDota API. The OpenDota API provides Dota 2 related data including advanced match data extracted from match replays.


Keywords
dota, dota2, api, apiwrapper, wrapper, opendota, steam, opendota.com, dota2-api, opendota-api
License
MIT
Install
Install-Package OpenDotaApi -Version 1.3.7

Documentation

OpenDotaApi

NuGet NuGet Codacy Badge

An unofficial .NET API Wrapper for the OpenDota API.

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

If you think something is broken, something is missing or have any questions, please open an Issue

Installation

To get started with OpenDotaApi first you will need to get the library itself. The easiest way to do this is to install the package into your project using NuGet.

  1. Download and Install the latest OpenDotaApi from NuGet or via CLI:
PM> Install-Package OpenDotaApi
  1. After installing it's time to actually use it. To get started we have to add the OpenDotaApi namespace:
using OpenDotaApi;

Getting Started

Then use the class!

 long SteamId = 0;
 var openDota = new OpenDota();
 var data = await openDota.Player.GetPlayerAsync(SteamId);
 Console.WriteLine(data.Profile.Avatarfull);