<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->user()->login(getenv('YODLEEAPI_USER_LOGIN'), getenv('YODLEEAPI_USER_PASSWORD'));
$response = $yodleeApi->providerAccounts()->get();
print 'RESULT<pre>';
print_r($response);
print '</pre>';
示例#2
0
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->user()->register('USER_LOGIN', 'USER_PASSWORD', 'USER_EMAIL');
print 'RESULT<pre>';
var_dump($response);
print '</pre>';
示例#3
0
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->providers()->getDetail(2852);
// Bank of America.
print 'RESULT<pre>';
print_r($response);
print '</pre>';
示例#4
0
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
print 'RESULT<pre>';
var_dump($response);
print '</pre>';
示例#5
0
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->providers()->get(['top' => 10]);
print 'RESULT<pre>';
print_r($response);
print '</pre>';
示例#6
0
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->user()->login(getenv('YODLEEAPI_USER_LOGIN'), getenv('YODLEEAPI_USER_PASSWORD'));
$response = $yodleeApi->transactions()->get(['fromDate' => '2000-01-01', 'toDate' => date('Y-m-d')]);
print 'RESULT<pre>';
print_r($response);
print '</pre>';
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
if (!ini_get('date.timezone')) {
    date_default_timezone_set('America/New_York');
}
require_once __DIR__ . '/../vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
$yodleeApi = new \YodleeApi\Client(getenv('YODLEEAPI_URL'));
$response = $yodleeApi->cobrand()->login(getenv('YODLEEAPI_COBRAND_LOGIN'), getenv('YODLEEAPI_COBRAND_PASSWORD'));
$response = $yodleeApi->user()->login(getenv('YODLEEAPI_USER_LOGIN'), getenv('YODLEEAPI_USER_PASSWORD'));
$response = $yodleeApi->providerAccounts()->add(16441, [["id" => 65499, "value" => "DAPI.site16441.7"], ["id" => 65500, "value" => "site16441.7"]]);
print 'RESULT<pre>';
print_r($response);
print '</pre>';