Links
Comment on page

Get transactions

Tags: #qonto #bank #transactions #naas_drivers #finance #snippet #dataframe
Author: Florent Ravenel
Last update: 2023-04-12 (Created: 2022-02-16)
Description: Qonto's notebook allows you to easily access and manage your transactions.

Input

Import library

from naas_drivers import qonto

Get your Qonto credentials

QONTO_USER_ID = "YOUR_USER_ID"
QONTO_SECRET_KEY = "YOUR_SECRET_KEY"

Setup your variables

# 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 all transactions

df_transactions = qonto.connect(QONTO_USER_ID, QONTO_SECRET_KEY).transactions.get(
date_from=date_from, date_to=date_to
)

Output

Display result

df_transactions