CSharpTradeOffers.Community.CommunityHandler.GetProfileComments C# (CSharp) Method

GetProfileComments() public method

Gets the profile comments of the specified SteamId64
public GetProfileComments ( ulong steamId, int totalCount, int count, int start ) : GetCommentsResponse
steamId ulong SteamId of the profile to get comments from
totalCount int Number of comments to retrieve
count int The number of comments previously retrieved
start int Starting index
return GetCommentsResponse
        public GetCommentsResponse GetProfileComments(ulong steamId, int totalCount, int count, int start = 0)
        {
            string url = BaseCommunityUrl + string.Format("comment/Profile/render/{0}/-1/", steamId);

            var data = new Dictionary<string, string>
            {
                {"start", start.ToString()},
                {"totalcount",totalCount.ToString() },
                {"count", count.ToString()},
                {"sessionid",_account.FindCookieByName("sessionid").Value }
            };

            return _web.Fetch(url, "GET", data, _account.AuthContainer).DeserializeJson<GetCommentsResponse>();
        }