Yodlee API wrapper for node.
$ npm install --save yodleevar yodlee = require('yodlee');Yodlee requires a cobSessionToken before we can access the API. Get your credentials here.
yodlee.use({
username: 'sbCobExampleAdminUser',
password: '96d621ec-2323-4664-b2fa-17ba6796b116',
api_base: 'https://rest.developer.yodlee.com/services/srest/restserver/v1.0'
});Yodlee uses the standard oauth authentication flow in order to allow apps to act on a user's behalf. The API provides a convenience method to help you authenticate your users.
yodlee.getAccessToken({
username: 'sbMemsomeuser',
password: 'sbMemsomeuser#123'
})
.then(function(accessToken) {})
.catch(function(error) {}); Returns the information related to the specified accounts aggregated by the User: Yodlee Docs
yodlee.getAccounts(accessToken)
.then(function(response) {})
.catch(function(error) {}); Executes a transaction search and returns the first page result: Yodlee Docs
yodlee.getTransactions(accessToken, {
containerType: 'All',
higherFetchLimit: 500,
lowerFetchLimit: 1,
resultRangeEndNumber: 60,
resultRangeStartNumber: 1,
searchFilterCurrencyCode: 'GBP',
ignoreUserInput: true
})
.then(function(response) {})
.catch(function(error) {}); Unit test are written in Mocha. Please add a unit test for every new feature or bug fix. npm test to run the test suite.
Add documentation for every API change. Feel free to send corrections or better docs!
Send fixes PR on the master branch.
MIT © Craig Richardson