mirror of
https://github.com/Ahrimdon/detailed-cod-tracker.git
synced 2025-03-29 07:18:30 -04:00
12 lines
400 B
C#
12 lines
400 B
C#
namespace CSharp_CODAPI
|
|
{
|
|
public class ALT
|
|
{
|
|
public async Task<BaseAPIResponse?> search(string gamertag, Platforms platform)
|
|
{
|
|
(gamertag, var platformStr, _) = Helpers.mapGamertagToPlatform(gamertag, platform, true);
|
|
return await Http.sendRequest<BaseAPIResponse>($"/crm/cod/v2/platform/{platformStr}/username/{gamertag}/search");
|
|
}
|
|
}
|
|
}
|