<?php include_once 'src/yodlee.php'; if ($_SESSION['cobSessionToken']) { $obj = new YodleeAggregation(); $obj->userSessionToken(); } else { die('session token not found.'); }
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $obj->logout();
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $UserTransactions = $obj->getUserTransactions(); ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - PHP</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5> <?php echo '<pre>'; echo $UserTransactions; echo '</pre>';
<?php include_once 'src/yodlee.php'; if (isset($_POST['submit']) && trim($_POST['login']) != '' && trim($_POST['passwd']) != '') { $obj = new YodleeAggregation(); $obj->addSiteAccount($_GET['site'], $_POST['login'], $_POST['passwd']); exit; } else { ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - Step 3</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5> <b>Please login to add your account</b>
<?php include_once 'src/yodlee.php'; if (isset($_POST['submit']) && $_POST['submit'] == 'user_login') { $obj = new YodleeAggregation(); $obj->login(); } ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - Login</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Please login</h5> <form action="" method="post"> <input type="text" value="sbMemsean.rock1" placeholder="Enter username" name="username"/> <input type="password" value="sbMemsean.rock1#123" placeholder="Enter password" name="passwd"/> <input type="submit" name="submit" value="user_login"/>
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $CategoryTypes = $obj->getTransactionCategoryTypes(); $TransactionCategories = $obj->getUserTransactionCategories(); ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - PHP</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5> <?php echo '<pre>'; echo $CategoryTypes;
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $AllSiteAccounts = $obj->getAllSiteAccounts(); ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - PHP</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5> <ul> <li><a href="<?php echo SITE_URL; ?>
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $obj->startSiteRefresh();
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $obj->removeItemAccount();
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); echo $obj->searchSites();
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $obj->searchTransactions($_GET['itemAccountId']);
<?php include_once 'src/yodlee.php'; if ($_SESSION['login_response']['isValid']) { $obj = new YodleeAggregation(); $PopularSites = $obj->getPopularSites(); } else { die('Invalid response.'); } ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - Step 3</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5>
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $ItemSummaries = $obj->getItemSummariesForSite($_GET['SiteAccId']); ?> <!DOCTYPE html> <HTML> <HEAD> <title>Demo - PHP</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="stylesheet" href="css/codemirror.css"> <link rel="stylesheet" href="css/eclipse.css"> <style> body{ padding: 10px; } .c-method{ margin-left: 20px; } </style> </HEAD> <BODY> <h5>Username : <?php echo $_SESSION['login_response']['Body']->loginName . ' (' . $_SESSION['login_response']['Body']->userId . ')'; ?> </h5> <ul> <li><a target="_blank" href="<?php echo SITE_URL; ?>
<?php include_once 'src/yodlee.php'; $obj = new YodleeAggregation(); $obj->removeSiteAccount();