<?php// NOTE: This script assumes installation with composer and using composer's autoloader.require_once'vendor/autoload.php';
// Minimum required Yodlee credentials.$yodleeApiUrl = 'https://developer.api.yodlee.com/ysl/restserver/v1';
$yodleeApiCobrandLogin = 'johndoe';
$yodleeApiCobrandPassword = 'johndoe#123';
// Create a new instance of the SDK.$yodleeApi = new \YodleeApi\Client($yodleeApiUrl);
// Login the cobrand.$yodleeApi->cobrand()->login($yodleeApiCobrandLogin, $yodleeApiCobrandPassword);
// Fetch all available banks, institutions etc. that are supported by Yodlee.$providers = $yodleeApi->providers()->get();
Check the examples/ directory for sample scripts.
Installation with Composer
composer require progknife/yodlee-api
API Reference
cobrand()
Return
Method
Description
bool
login(string $username, string $password)
Authenticates the cobrand.
void
logout()
Ends the authenticated cobrand's session from Yodlee.