public async Task <IEnumerable <User> > GetPendingFriendsAsync(int id, int page) { if (page < 1) { page = 1; } return(await The100API.SendGetRequest <IEnumerable <User> >(_httpClient, $"users/{id}/pending_friends?page={page}")); }
public async Task <IEnumerable <User> > GetUsersAsync(int id, int page) { if (page < 1) { page = 1; } return(await The100API.SendGetRequest <IEnumerable <User> >(_httpClient, $"groups/{id}/users?page={page}")); }
public async Task <IEnumerable <GamingSession> > GetGamingSessionsAsync(int id, int page) { if (page < 1) { page = 1; } return(await The100API.SendGetRequest <IEnumerable <GamingSession> >(_httpClient, $"users/{id}/gaming_sessions?page={page}")); }
public async Task <IEnumerable <FeedItem> > GetFeedAsync(int id, int page) { if (page < 1) { page = 1; } return(await The100API.SendGetRequest <IEnumerable <FeedItem> >(_httpClient, $"users/{id}/feed?page={page}")); }
public async Task <IEnumerable <Notification> > GetNotificationsAsync(int id, int page) { if (page < 1) { page = 1; } return(await The100API.SendGetRequest <IEnumerable <Notification> >(_httpClient, $"users/{id}/notifications?page={page}")); }
public async Task <IEnumerable <PlatformMembership> > GetPlatformMembershipsAsync(int id) { return(await The100API.SendGetRequest <IEnumerable <PlatformMembership> >(_httpClient, $"groups/{id}/platform_memberships")); }
public async Task <IEnumerable <FeedItem> > GetFeedAsync(int id) { return(await The100API.SendGetRequest <IEnumerable <FeedItem> >(_httpClient, $"groups/{id}/feed")); }
public async Task <Group> GetByIdAsync(int id) { return(await The100API.SendGetRequest <Group>(_httpClient, $"groups/{id}")); }
public async Task <IEnumerable <ApprovedGame> > GetApprovedGamesAsync(int id) { return(await The100API.SendGetRequest <IEnumerable <ApprovedGame> >(_httpClient, $"groups/{id}/approved_games")); }
public async Task <IEnumerable <string> > GetAllTagsAsync() { return(await The100API.SendGetRequest <IEnumerable <string> >(_httpClient, "groups")); }
public async Task <IEnumerable <Gamertag> > GetGamertagsAsync(int id) { return(await The100API.SendGetRequest <IEnumerable <Gamertag> >(_httpClient, $"users/{id}/gamertags")); }
public async Task <GamingSession> GetByIdAsync(int id) { return(await The100API.SendGetRequest <GamingSession>(_httpClient, $"gaming_sessions/{id}")); }
public async Task <User> GetByIdAsync(int id) { return(await The100API.SendGetRequest <User>(_httpClient, $"users/{id}")); }
public async Task <object> GetAvatarsUrlsAsync(string gamerTags) { return(await The100API.SendGetRequest <object>(_httpClient, $"users/avatar_urls?gamertags={gamerTags}")); }
public async Task <IEnumerable <Game> > GetAllAsync() { return(await The100API.SendGetRequest <IEnumerable <Game> >(_httpClient, "games")); }