In this thread I demoed an API for exporting your base in CSV format. The main issue is that it requires credentials to be passed as visual parameters in the URL.
I’ve overcome this by making a new endpoint which accepts a POST request to store the sensitive information securely. A successful POST request will return a link for downloading your base as CSV which does not show any keys in plain sight. This link will only need to be generated once and will always show the latest data of the chosen table when used. It will be great for analysis, scheduled backups, or sharing a specific table with a client who wants access to live data by CSV.
Post requests can be done in terminal like so:
curl -X POST -F 'base=your_base_id' -F 'apik=your_api_key' -F 'table=your_table_name_or_id' -F 'view=your_view_name_or_id' 'https://csv-getter-for-airtable.ew.r.appspot.com/v2/make-url'
Or you can use a tool like https://www.postman.com (required parameters made clear in the doc). If there proves to be demand, I can build out a simple webapp for easily performing these post requests.
The generated link will be of the format:
{
"URL":"https://csv-getter-for-airtable.ew.r.appspot.com/v2/all-csv/unique-id"
}
Docs here for help. For any specific questions about how keys are stored or how data is handled, please reach out.