
Yodlee API wrapper for node.
Installation
$ npm install --save yodlee
Usage
var yodlee = require('yodlee');
Authentication using Cobrand Credentials
Yodlee requires a cobSessionToken before we can access the API. Get your credentials here.
yodlee.use({
username: 'sbCobExampleAdminUser',
password: '96d621ec-2323-4664-b2fa-17ba6796b116'
});
##OAuth Requests
Yodlee uses the standard oauth authentication flow in order to allow apps to act on a user's behalf. Therefore, the API provides a convenience methods to help you authenticate your users.
yodlee.getAccessToken({
username: 'sbMemsomeuser',
password: 'sbMemsomeuser#123'
})
.then(function(accessToken) {})
.catch(function(error) {});
##Using the API
###GET User Accounts
Returns the information related to the specified accounts aggregated by the User: Yodlee Docs
yodleeAPI.getAccounts(accessToken)
.then(function(accessToken) {})
.catch(function(error) {});
###GET User Transactions
Executes a transaction search and returns the first page result: Yodlee Docs
yodleeAPI.getTransactions(accessToken, {
containerType: 'All',
higherFetchLimit: 500,
lowerFetchLimit: 1,
resultRangeEndNumber: 60,
resultRangeStartNumber: 1,
searchFilterCurrencyCode: 'GBP',
ignoreUserInput: true
})
.then(function(accessToken) {})
.catch(function(error) {});
License
MIT © Craig Richardson