Qonto
Connect with Qonto
Qonto • Online Geschäftskonto für KMU und Selbstständige
getqonto

Connect

You must "Connect" before any other methods
1
from naas_drivers import qonto
2
3
# Your credentials
4
user_id = 'YOUR_USER_ID'
5
api_key = 'YOUR_API_KEY'
6
7
# Connect to Qonto
8
qt = qonto.connect(user_id, api_key)
Copied!

Positions

Get your bank account positions
1
# Get bank positions
2
df_positions = qt.positions.get()
3
df_positions
Copied!

Flows

Get all flows by bank accounts
1
# Get all flows
2
df_flows = qt.flows.get_all()
3
df_flows
Copied!

Statements

Get your statements with flows and positions

Aggregated by day

Get all flows

1
# Get bank statement aggregated by day
2
df_statement = qt.statement.aggregated()
3
df_statement
Copied!

Filtered by date

1
# Get bank statement aggregated by day filtered by date
2
df_statement = qt.statement.aggregated(date_from="2020-10-01",
3
date_to="2020-10-12")
4
df_statement
Copied!

Detailed

Get all flows

1
# Get your statement detailed
2
df_statement = qt.statement.detailed()
3
df_statement
Copied!

Filtered by date

1
# Get your statement detailed filtered by date
2
df_statement = qt.statement.detailed(date_from="2020-10-01",
3
date_to="2020-10-12")
4
df_statement
Copied!
Parameters "date_from" and "date_to" must be in format "%Y-%m-%d"