We've raised a $125M Series B to build the platform for agent engineering. Read more.
Python
pip install -qU pyairtable
from langchain_community.document_loaders import AirtableLoader
api_key = "xxx" base_id = "xxx" table_id = "xxx" view = "xxx" # optional
loader = AirtableLoader(api_key, table_id, base_id, view=view) docs = loader.load()
dict
len(docs)
3
eval(docs[0].page_content)
{'id': 'recF3GbGZCuh9sXIQ', 'createdTime': '2023-06-09T04:47:21.000Z', 'fields': {'Priority': 'High', 'Status': 'In progress', 'Name': 'Document Splitters'}}