This is the implementation of the Airtable data handler for MindsDB. Airtable is a platform that makes it easy to build powerful, custom applications. These tools can streamline just about any process, workflow, or project. And best of all, you can build them without ever learning to write a single line of code.Documentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect Airtable to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Airtable.
Implementation
This handler is implemented usingduckdb, a library that allows SQL queries to be executed on pandas DataFrames.
In essence, when querying a particular table, the entire table is first pulled into a pandas DataFrame using the Airtable API. Once this is done, SQL queries can be run on the DataFrame using duckdb.
The required arguments to establish a connection are as follows:
base_idis the Airtable base ID.table_nameis the Airtable table name.api_keyis the API key for the Airtable API.