acdh-baserow-pyutils
a python client for baserow
install
pip install acdh-baserow-pyutils
how to use
Have a look into tests/test_baserow_client.py
dump all tables of a given database into JSON-FILES
import os
from acdh_baserow_utils import BaseRowClient
BASEROW_USER = os.environ.get("BASEROW_USER")
BASEROW_PW = os.environ.get("BASEROW_PW")
BASEROW_TOKEN = os.environ.get("BASEROW_TOKEN")
DATABASE_ID = "41426"
br_client = BaseRowClient(BASEROW_USER, BASEROW_PW, BASEROW_TOKEN)
files = br_client.dump_tables_as_json(DATABASE_ID, folder_name='out')
print(files)