static void Main(string[] args) { Console.BufferHeight = short.MaxValue - 1; var url = "https://psd2-api.openbankproject.com/"; var client = new ObpRestClient(url); client.Login("*****@*****.**", "<password>", "<consumerKey>"); if (TxExists(description, client, new DateTime(2017, 01, 19))) { Console.WriteLine("TRIGGER: Tx exists"); } Test(client, bankId, accountId, viewId, transactionRequestType, description, currency); Console.ReadLine(); }
static void Main(string[] args) { //Console.BufferHeight = short.MaxValue - 1; var client = new ObpRestClient(HttpsApisandboxOpenbankprojectCom); var users = GetUsers(); foreach (var user in users) { client.Login(user.email, user.password, consumerKey); Console.WriteLine(""); Console.WriteLine("=============================="); Console.WriteLine("stats for :" + user.email); GetMinAndMaxDateOfTransactions(client); } //Test(client, bankId, accountId, viewId, transactionRequestType, description, currency); Console.ReadLine(); }