Get transactions
Tags: #qonto #bank #transactions #naas_drivers
Author: Florent Ravenel

Input

Import library

1
from naas_drivers import qonto
Copied!

Get your Qonto credentials

1
QONTO_USER_ID = 'YOUR_USER_ID'
2
QONTO_SECRET_KEY = 'YOUR_SECRET_KEY'
Copied!

Setup your variables

1
# Date to start extraction, format: "AAAA-MM-JJ", example: "2021-01-01"
2
date_from = None
3
# Date to end extraction, format: "AAAA-MM-JJ", example: "2021-01-01", default = now
4
date_to = None
Copied!

Model

Get all transactions

1
df_transactions = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).transactions.get(date_from=date_from,
2
date_to=date_to)
Copied!

Output

Display result

1
df_transactions
Copied!
Copy link
Edit on GitHub