/PUBGLibrary

A C# API and Replay library

Primary LanguageC#GNU General Public License v3.0GPL-3.0

PUBGLibrary

A .NET Standard PUBG API and Replay library

Replay

The replay class can be created by adding the path to the directory of the replay as a paramter to the class.

Replay replay = new Replay(@"C:\Users\Master\AppData\Local\TslGame\Saved\Demos\match.bro.custom.1cePrime.na.normal.2018.02.02.feef46c6-0c69-49ea-a0fe-3853d41aacb1__USER__3f2737e1fcd7d5e0444298f528c41675");

API

Match lookup

Looking up matches is easy!

            Replay replay = new Replay(@"C:\Users\Master\AppData\Local\TslGame\Saved\Demos\match.bro.custom.1cePrime.na.normal.2018.02.02.feef46c6-0c69-49ea-a0fe-3853d41aacb1__USER__3f2737e1fcd7d5e0444298f528c41675");
            API pubgapi = new API(<API-Key-Here>);
            APIRequest MatchID = pubgapi.RequestMatch("fabe78-6e6f-4e32-bcf6-42aa7ec79aa1", PlatformRegionShard.PC_NA);
            APIRequest ReplayClass = pubgapi.RequestMatch(replay);
            APIRequest FromDirectory = pubgapi.RequestMatch("C:\Users\Master\AppData\Local\TslGame\Saved\Demos\match.bro.custom.1cePrime.na.normal.2018.02.02.feef46c6-0c69-49ea-a0fe-3853d41aacb1__USER__3f2737e1fcd7d5e0444298f528c41675");

Player lookup

So is looking up players

            API pubgapi = new API(<API-Key-Here>);
            APIRequest userrequest = pubgapi.RequestUser("account.3654e255b77b409e87b10dcb086ab00d", PlatformRegionShard.PC_NA);

Nuget

This package is also on Nuget!

https://www.nuget.org/packages/PUBGLibrary/