sominola / OpenDota-API

An unofficial .NET API Wrapper for the OpenDota API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

About

An unofficial .NET API Wrapper for the OpenDota API.

License:MIT License


Languages

Language:C# 100.0%