This is a Node.js client for the Wallet (by BudgetBakers) personal finance app unofficial API. It allows you to:
- Login
- List import files
- Upload import files
- Delete import files
With npm:
npm install wallet-budgetbakers
With yarn:
yarn add wallet-budgetbakers
import { login } from 'wallet-budgetbakers';
const wallet = await login({
username: '[email protected]',
password: 'mypassword'
});
const files = await wallet.listImports();
await wallet.uploadFile({
filePath: 'data.csv',
importEmail: '[email protected]'
});
await wallet.deleteImport(fileId);
The login
function returns a WalletSession
instance that handles authentication and provides methods to interact with the BudgetBakers API.
Logs in and returns a WalletSession
.
Options:
username
- BudgetBakers usernamepassword
- BudgetBakers password
Gets a list of import files. Returns an array of File
objects.
Uploads a file to BudgetBakers.
Options:
filePath
- Local file path to uploadimportEmail
- BudgetBakers account email
Deletes an import file by ID.