public async Task get_account_reputations() { var args = new GetAccountReputationsArgs { AccountLowerBound = User.Login, Limit = 10 }; var resp = await Api.GetAccountReputationsAsync(args, CancellationToken.None).ConfigureAwait(false); TestPropetries(resp); }
public void get_account_reputations() { var args = new GetAccountReputationsArgs() { AccountLowerBound = User.Login, Limit = 10 }; var resp = Api.GetAccountReputations(args, CancellationToken.None); WriteLine(resp); Assert.IsFalse(resp.IsError); var obj = Api.CustomGetRequest <JObject>(KnownApiNames.FollowApi, "get_account_reputations", args, CancellationToken.None); TestPropetries(resp.Result.GetType(), obj.Result); WriteLine("----------------------------------------------------------------------------"); WriteLine(obj); }
/// <summary> /// API name: get_account_reputations /// /// </summary> /// <param name="args">API type: get_account_reputations_args</param> /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param> /// <returns>API type: get_account_reputations_return</returns> /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception> public JsonRpcResponse <GetAccountReputationsReturn> GetAccountReputations(GetAccountReputationsArgs args, CancellationToken token) { return(CustomGetRequest <GetAccountReputationsReturn>(KnownApiNames.FollowApi, "get_account_reputations", args, token)); }