Example #1
0
        public void test_refresh_not_mfa()
        {
            var m = new YodleeMain();

            m.LoginUser("*****@*****.**", Encrypted.Decrypt("sykuYcJcd+ShmykTY/pi0qBpRJK0a9HBiiw9NN0Dgjg="));
            m.RefreshNotMFAItem(10334329, true);
        }
Example #2
0
        public long test_get_itemId()
        {
            var    m = new YodleeMain();
            string dName;
            long   csId;

            // halifax "*****@*****.**", Encrypted.Decrypt("D61Ggo7aGrQTD/ZNsnqUfteq4mlqW00xAG1yL8wpfBA="  10321216 WBkLy450
            // dag "*****@*****.**", Encrypted.Decrypt("sykuYcJcd+ShmykTY/pi0qBpRJK0a9HBiiw9NN0Dgjg="
            // mfa "*****@*****.**", Encrypted.Decrypt("qcw25++Ggp8/yi4bNkeB2Q64ABGU5YL+r7DPAZDrkkE="
            var  pass   = Encrypted.Decrypt("SH24xKutqoIefQ9oz2gjD9rITakU29ZXQpGA9SY8UMw=");
            long itemId = m.GetItemId("*****@*****.**", pass, null, out dName, out csId);

            Console.WriteLine("{0} {1}", dName, itemId);
            Assert.That(itemId != -1);
            return(itemId);
        }
Example #3
0
        public void test_get_data_for_item()
        {
            var m    = new YodleeMain();
            var pass = Encrypted.Decrypt("SH24xKutqoIefQ9oz2gjD9rITakU29ZXQpGA9SY8UMw=");

            m.LoginUser("*****@*****.**", pass);
            GetBankData g = new GetBankData();
            string      s1;
            string      err;
            Dictionary <BankData, List <BankTransactionData> > data;
            //var itemId = test_get_itemId();
            long itemId = 10403741;

            g.GetBankDataForItem(m.UserContext, itemId, out s1, out err, out data);

            Console.WriteLine("info {0}, errors:{1}, count of data:{2}", s1, err, data.Keys.Count);
        }
Example #4
0
        public void test_remove_item()
        {
            var m = new YodleeMain();

            m.RemoveItem(test_get_itemId());
        }