GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CSharp-CODAPI/USER.cs at main · Lierrmm/CSharp-CODAPI

This repository was archived by the owner on Oct 13, 2024. It is now read-only.

Expand file tree

/

USER.cs

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
39 lines (34 loc) · 1.83 KB
/

USER.cs

Copy path

File metadata and controls

39 lines (34 loc) · 1.83 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace CSharp_CODAPI
{
public class USER
{
public async Task<BaseAPIResponse?> friendFeed(string gamertag, Platforms platform)
{
(gamertag, var platformStr, _) = Helpers.mapGamertagToPlatform(gamertag, platform, true);
return await Http.sendRequest<BaseAPIResponse>($"/userfeed/v1/friendFeed/platform/{platformStr}/gamer/{gamertag}/friendFeedEvents/en");
}
public async Task<BaseAPIResponse?> eventFeed()
{
return await Http.sendRequest<BaseAPIResponse>($"/userfeed/v1/friendFeed/rendered/en/{Http.globalSsoToken}");
}
public async Task<BaseAPIResponse?> loggedInIdentities()
{
return await Http.sendRequest<BaseAPIResponse>($"/crm/cod/v2/identities/{Http.globalSsoToken}");
}
public async Task<BaseAPIResponse?> codPoints(string gamertag, Platforms platform)
{
(gamertag, var platformStr, _) = Helpers.mapGamertagToPlatform(gamertag, platform, true);
return await Http.sendRequest<BaseAPIResponse>($"/inventory/v1/title/mw/platform/{platformStr}/gamer/{gamertag}/currency");
}
public async Task<BaseAPIResponse?> connectedAccounts(string gamertag, Platforms platform)
{
(gamertag, var platformStr, var lookupType) = Helpers.mapGamertagToPlatform(gamertag, platform, true);
return await Http.sendRequest<BaseAPIResponse>($"/crm/cod/v2/accounts/platform/{platformStr}/{lookupType}/{gamertag}");
}
public async Task<BaseAPIResponse?> settings(string gamertag, Platforms platform)
{
(gamertag, var platformStr, _) = Helpers.mapGamertagToPlatform(gamertag, platform, true);
return await Http.sendRequest<BaseAPIResponse>($"/preferences/v1/platform/{platformStr}/gamer/{gamertag}/list");
}
}
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.