Connect with Qonto
You must "Connect" before any other methods
from naas_drivers import qonto
# Your credentials
user_id = 'YOUR_USER_ID'
api_key = 'YOUR_API_KEY'
# Connect to Qonto
qt = qonto.connect(user_id, api_key)
Get your bank account positions
# Get bank positions
df_positions = qt.positions.get()
Get all flows by bank accounts
# Get all flows
df_flows = qt.flows.get_all()
Get your statements with flows and positions
# Get bank statement aggregated by day
df_statement = qt.statement.aggregated()
# Get bank statement aggregated by day filtered by date
df_statement = qt.statement.aggregated(date_from="2020-10-01",
# Get your statement detailed
df_statement = qt.statement.detailed()
# Get your statement detailed filtered by date
df_statement = qt.statement.detailed(date_from="2020-10-01",
Parameters "date_from" and "date_to" must be in format "%Y-%m-%d"