public IMarketUserData SendQueryUserRequest() { QueryUserRequest userReq = new QueryUserRequest(); //create query user requset IMarketUserData output = client.SendPostRequest <QueryUserRequest, RealMarketUserData>(loginInfo.GetURL(), loginInfo.GetUser(), loginInfo.GetToken(), userReq); return(output); }
/// <summary> /// Describes user information, including inventory, funds and active request ID's description. /// </summary> /// <returns>Prints a description of user information, including inventory, funds and active request ID's</returns> public IMarketUserData SendQueryUserRequest() { SimpleHTTPClient client = new SimpleHTTPClient(); QueryUser request = new QueryUser("queryUser"); string token = SimpleCtyptoLibrary.CreateToken(User, PrivateKey); IMarketUserData response = client.SendPostRequest <QueryUser, MarketUserData>(Url, User, token, request); return(response); }