public async Task <GameInfo> GetGameAsync(ISet <string> userIds, int gameId) { var url = SteamUtils.GetGameUrl(gameId); var jsonObj = await _remoteApiService.GetJsonObjectAsync(url, SteamUtils.ApiName); var game = jsonObj[gameId.ToString()]["data"]?.ToObject <GameInfo>() ?? throw new GameNotFoundException($"Game {gameId} could not be found.", gameId); game.UserInfo = await GetUserInfoAsync(userIds, gameId); return(game); }