Links

Get statement summary by operation type

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 = None
# Date to end extraction, format: "AAAA-MM-JJ", example: "2021-01-01", default = now
date_to = None

Model

Get statement summary

df_summary = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).statements.summary(
summary_type="OPERATION_TYPE",
date_from=date_from,
date_to=date_to
)

Output

Display result

df_summary
​
Last modified 3mo ago