You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm currently looking in the code. And I'm wondering why we don't use "https://api.airtable.com/v0/meta/bases/appXXXX/tables" to get the table structure and define associated fields. I think this is more realable than the current method:
# Attempts introspection by looking at data.
# This is super not reliable
# as Airtable removes the key if the value is empty.
else:
# This introspects the just first row in the table.
if peek_rows is None or peek_rows == 1:
field_values = {
k: [v] for k, v in self._table_api.first()["fields"].items()
}
# Or peek at specified number of rows
Is there any technical limitation to use the api?
The text was updated successfully, but these errors were encountered:
The metadata API is 100% the right way to do this. That API was added recently (2022-11-15). The library here should be updated to use that approach instead of any current approaches.
We do need to use personal access tokens or OAuth rather than an Airtable API key to access this API.
Hello, I'm currently looking in the code. And I'm wondering why we don't use "https://api.airtable.com/v0/meta/bases/appXXXX/tables" to get the table structure and define associated fields. I think this is more realable than the current method:
Is there any technical limitation to use the api?
The text was updated successfully, but these errors were encountered: