AirTable Interface
audio_recording_logger.airtable
AirTable
Source code in src/audio_recording_logger/airtable.py
__init__(url)
Constructor for AirTable table.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url |
str
|
URL of AirTable table. |
required |
Source code in src/audio_recording_logger/airtable.py
add_records(records)
Add records to AirTable table.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
records |
List[Dict[str, Any]]
|
List of records in AirTable format. |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
Whether upload was a success. |
Source code in src/audio_recording_logger/airtable.py
batch_add_records(records)
Allow batching of record addition due to 10-element limit, then push.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
records |
List[Dict[str, Any]]
|
List of records in AirTable format. |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
Whether upload was a success. |