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

Parameters

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

Model

Get statement detailed

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

Output

Display result

1
df_statement
Copied!
Copy link
Edit on GitHub