node-moneydashboard-api is a Node module for accessing the MoneyDashboard API.
Kind: global class
- MoneyDashboard
- new MoneyDashboard(opts)
- .login() ⇒
Promise.<Boolean>
- .refreshLogin() ⇒
Promise.<(Boolean|Error)>
- .generateAPIAuth() ⇒
String
- .getAccounts() ⇒
Array.<Object>
- .getBalances()
Creates a new instance of the MoneyDashboard API
Param | Type | Description |
---|---|---|
opts | Object |
|
opts.username | String |
Your MoneyDashboard username/email |
opts.password | String |
Your MoneyDashboard password |
Logs in using the provided credentials
Kind: instance method of MoneyDashboard
Returns: Promise.<Boolean>
- A promise that (when resolved) is a boolean dictating the status of logging in
Refreshes local credentials for Cognito
Kind: instance method of MoneyDashboard
Returns: Promise.<(Boolean|Error)>
- A promise that (when resolved) is a boolean dictating the status of logging in
Generates the x-auth header required for API requests
Kind: instance method of MoneyDashboard
Returns: String
- x-auth header string
Get a list of accounts attached to the MoneyDashboard account
Kind: instance method of MoneyDashboard
Returns: Array.<Object>
- An array containing the list of accounts as objects
Get a list of balances maybe? I haven't actually looked that far into the API yet lol
Kind: instance method of MoneyDashboard