Links

Get statement

Tags: #qonto #bank #statement #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'

Parameters

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

Model

Get statement detailed

df_statement = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).statements.get(date_from=date_from,
date_to=date_to)

Output

Display result

df_statement