Fetch current account balances, investment portfolio holdings, and transactions for all wallet currencies and depots in JSON format. Uses Playwright to automate Revolut web banking.
Entry point: {baseDir}/scripts/revolut.py
See SETUP.md for prerequisites and setup instructions.
python3 {baseDir}/scripts/revolut.py --user oliver login
python3 {baseDir}/scripts/revolut.py --user oliver accounts
python3 {baseDir}/scripts/revolut.py --user oliver transactions --from YYYY-MM-DD --until YYYY-MM-DD
python3 {baseDir}/scripts/revolut.py --user sylvia portfolio
python3 {baseDir}/scripts/revolut.py --user oliver invest-transactions --from YYYY-MM-DD --until YYYY-MM-DD
login → accounts → transactions → portfolio → logout
Always call logout after completing all operations to delete the stored browser session.
{workspace}/revolut/ (deleted by logout).--out) are sandboxed to workspace or /tmp..env file loading — credentials in config.json only.共 2 个版本