Links

Get statement ranking by category

Tags: #qonto #bank #statement #naas_drivers #finance #snippet #dataframe
Author: Florent Ravenel​
Description: This notebook provides a way to organize and analyze financial statements by category to gain insights into spending patterns.

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="CATEGORY", date_from=date_from, date_to=date_to
)

Output

Display result

df_summary
​