A lightweight API client written in C# to optimize your time when developing projects for the Predecessor game.
Here're some of the project's best features:
- Easy to maintain
- Highly documented
- Minimal conditions
- Wrapped in NUnit tests
1. Installation via command line using dotnet CLI.
dotnet add package OmedaCity
using OmedaCity;
using OmedaCity.Enums;
public async Task GetPlayerById()
{
var player = await OmedaCityClientApi.GetPlayerById("<PLAYER ID FROM OMEDA CITY>");
Console.WriteLine($"Name: {player.DisplayName}");
Console.WriteLine($"MMR: {player.Mmr}");
Console.WriteLine($"Rank: {player.RankTitle}");
}
Technologies used in the project:
- C# 8.0
- Newtonsoft.Json 13.0.3
- FiveAnts.Endpoint 0.0.1