Hello,
I’m using the Airtable Python wrapper found here: Airtable Python Wrapper Documentation — Airtable Python Wrapper documentation
I’m trying to get all records modified after some date time. My code is:
AT = Airtable(BASE_KEY, TABLE_NAME, API_KEY)
filterByFormula = ‘IS_AFTER(LAST_MODIFIED_TIME(), DATETIME_PARSE(“2022-03-15T14:23:41.000Z”))’
AT_ITER = AT.get_all(formula=filterByFormula)
However, this is always returning every record in the table. Also, how do I get it to return the last modified date in the fields? I have tried:
AT_ITER = AT.get_all(formula=filterByFormula, fields=“lastModifiedTime”)
…but this throws an error. The docs say the default is to return all fields, but there’s no modified date field when I try that, either.
Any help, please?
Thanks!
-Dan