Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.13 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.13 KB

README

A basic script to pull all of the transactions out of the accounts in your RBS open banking sandbox app and save them to CSV.

You can reconfigure the APP_ID and other query data by changing the variables at the top of rbs-get-transactions.py.

To set up and run, create a virtualenv with something like:

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt

For authentication with your sandbox app you need to set up your client id and secret in your .bashrc or .zshrc like this:

export RBS_CLIENT_ID="ljAIOSDJLajdioAJSDiAJD"
export RBS_CLIENT_SECRET="sadfASdasjioDJASOdjasoF"

You'll also need to make sure the APP_ID in the script is updated to match your app.

Then just run the script with python rbs-get-transactions.py.

API reference material