Skip to main content

Client for the baserow.io API.

Project description

baserow-client

A Python client for Baserow.io.

Installation

$ pip install baserow-client

Example

from baserow.client import BaserowClient
from baserow.filter import Column

client = BaserowClient('https://baserow.io', '<JWT_TOKEN>')

for database in client.list_all_applications():
  print(database, [t.name for t in database.tables])

for table in client.list_database_tables(13):
  print(table)

for field in client.list_database_table_fields(45):
  print(field)

is_john_smith = Column('field_281').equal('John Smith')
for page in client.paginated_database_table_rows(45, filter=[is_john_smith]):
  for row in page.results:
    print(row)

Copyright © 2021 Niklas Rosenstein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baserow-client-0.1.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

baserow_client-0.1.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page