Get statement summary by operation type
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 = None
3
# Date to end extraction, format: "AAAA-MM-JJ", example: "2021-01-01", default = now
4
date_to = None
Copied!

Model

Get statement summary

1
df_summary = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).statements.summary(
2
summary_type="OPERATION_TYPE",
3
date_from=date_from,
4
date_to=date_to
5
)
Copied!

Output

Display result

1
df_summary
Copied!
1
Copied!
Copy link
Edit on GitHub