2

I'm trying to use airtable-python-wrapper but it's not accepting the API key when passed, as explained here: https://airtable-python-wrapper.readthedocs.io/en/master/authentication.html

Code below:

from airtable import Airtable
base_key = 'xxxxxxxxxxxx'
table_name = 'MyTable'

airtable = Airtable(base_key, table_name, api_key='xxxxxxxxxxx')
airtable.get_all()

Any help appreciated.

T3metrics
  • 135
  • 2
  • 11
  • This code is correct -- I was using the database name and not table name to access. The database is specified via the "base_key". Usage was not clear to me at the time. – T3metrics Dec 30 '18 at 08:25

0 Answers0