Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noamross/archive-airtable
Workflow to get an AirTable schema and archive as CSVs + attachments in a git repository
https://github.com/noamross/archive-airtable
airtable phantomjs r
Last synced: 7 days ago
JSON representation
Workflow to get an AirTable schema and archive as CSVs + attachments in a git repository
- Host: GitHub
- URL: https://github.com/noamross/archive-airtable
- Owner: noamross
- Created: 2019-11-01T18:44:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T15:19:03.000Z (almost 5 years ago)
- Last Synced: 2024-10-28T00:26:35.065Z (about 2 months ago)
- Topics: airtable, phantomjs, r
- Language: R
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# airtable-archive
Workflow to archive an AirTable base as CSVs in a git repository, as well as
downloading any files attached to tables. Uses `phantomjs` to
collect information about the base schema in order to download all tables.The following environement variables are needed:
- `DATA_REPO_URL` - The remote git repo you want to store data in. If using GitHub, something like `https://USER:[email protected]/user/repo` will make it easy to automate the script, but it's not super secure. Otherwise credentials should be set by using an SSH git URL and and local keys
- `AT_BASE` - The AirTable base to pull from. This is of the form `appXXXXXXXXXX`, and is found in the URL of the API of your AirTable, e.g., `https://airtable.com/appXXXXXXXXXX/api/docs`.
- `AIRTABLE_LOGIN_EMAIL` - Your user account email = Sys.getenv("AIRTABLE_LOGIN_EMAIL") #airtable creds. Note that AIRTABLE_API_KEY is also needed in the environment
- `AIRTABLE_LOGIN_PWD` - Your Airtable user account password
- `AIRTABLE_API_KEY` - Your AirTable API key.
- `GIT_USER` - The git user name to sign automated commits with
- `GIT_EMAIL` - The git user email to sign automated commits with