{"id":16560746,"url":"https://github.com/mathieu2301/airtable-to-json","last_synced_at":"2026-05-02T08:31:58.930Z","repository":{"id":92266210,"uuid":"568644768","full_name":"Mathieu2301/Airtable-to-JSON","owner":"Mathieu2301","description":"Extract Airtable table to JSON","archived":false,"fork":false,"pushed_at":"2022-11-25T08:58:12.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T03:29:45.531Z","etag":null,"topics":["airtable","data-mining","dataset","json","mongodb"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mathieu2301.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-21T05:09:48.000Z","updated_at":"2022-11-21T05:12:52.000Z","dependencies_parsed_at":"2023-06-08T05:30:12.408Z","dependency_job_id":null,"html_url":"https://github.com/Mathieu2301/Airtable-to-JSON","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mathieu2301/Airtable-to-JSON","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FAirtable-to-JSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FAirtable-to-JSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FAirtable-to-JSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FAirtable-to-JSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mathieu2301","download_url":"https://codeload.github.com/Mathieu2301/Airtable-to-JSON/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FAirtable-to-JSON/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airtable","data-mining","dataset","json","mongodb"],"created_at":"2024-10-11T20:29:53.732Z","updated_at":"2026-05-02T08:31:58.911Z","avatar_url":"https://github.com/Mathieu2301.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airtable to JSON\n\nThis project can be used to extract data from any public Airtable table and write it to a JSON file.\nThe project includes a table `fuser` that can be used to combine multiple tables into a single JSON file, with the ability to project columns and rename them, and group rows by a common column (Primary Key).\nAll possible merging errors are handled with error messages that make it easy to resolve them.\nThis project is designed to work perfectly with MongoDB.\n\n## Install the dependencies\n\n```bash\nyarn\n```\n\n## Download data from Airtable\n\n1. Go to the airtable page on your browser\n2. Go to inspect element\n3. Go to network tab\n4. Reload the page (F5)\n5. Search `readSharedViewData` or `read` in the network tab\n6. Click the first or second result\n7. Go to `Response` tab\n8. Copy the content\n9. Create a `input.json` file in the `./inputs` directory\n10. Paste the content in the file\n\n## Parse the JSON files\n\nThis will parse all the JSON files in the `./inputs` directory and create a file in the `./outputs` directory.\n\n```bash\nyarn start\n```\n\n## Format and merge the JSON files\n\nThis will merge all the JSON files in the `./outputs` directory and create a `merged.output.json` file.\n\n```bash\nyarn merge\n```\n\n### Fuser configuration\n\nWhen you run the `yarn merge` command for the first time, it will create a `fuser.config.ts` file in the root directory. You can then edit this file to change the configuration.\n\n```ts\n{\n  /**\n   * The column name that will\n   * be used to merge the data.\n   *\n   * If not provided, there may\n   * be duplicates in the output.\n   */\n  uniqueKey: 'theColumnId',\n  /**\n   * The projection that will be used\n   * to merge the data.\n   *\n   * The key is the column name of the\n   * Airtable table and the value is the\n   * column name wanted in the output file.\n   */\n  projection: {\n    'The column id': 'theColumnId',\n    'The column name': 'theColumnName',\n    'the_column_type': 'theColumnType',\n  },\n  /**\n   * Set it to true if you want to remove\n   * the `_date` column after merging.\n   *\n   * This column is used to merge the data.\n   * \n   * Default: false\n   */\n  removeDate: false,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieu2301%2Fairtable-to-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieu2301%2Fairtable-to-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieu2301%2Fairtable-to-json/lists"}