Links

Get transactions

Tags: #qonto #bank #transactions #naas_drivers #finance #snippet #dataframe
Author: Florent Ravenel

Input

Import library

from naas_drivers import qonto

Get your Qonto credentials

QONTO_USER_ID = 'YOUR_USER_ID'
QONTO_SECRET_KEY = 'YOUR_SECRET_KEY'

Setup your variables

# Date to start extraction, format: "AAAA-MM-JJ", example: "2021-01-01"
date_from = None
# Date to end extraction, format: "AAAA-MM-JJ", example: "2021-01-01", default = now
date_to = None

Model

Get all transactions

df_transactions = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).transactions.get(date_from=date_from,
date_to=date_to)

Output

Display result

df_transactions