{"id":24080128,"url":"https://github.com/pindlebot/airtable-node","last_synced_at":"2025-04-30T15:26:53.096Z","repository":{"id":57175027,"uuid":"96637725","full_name":"pindlebot/airtable-node","owner":"pindlebot","description":"Node API for Airtable without the bloat (lodash, etc)","archived":false,"fork":false,"pushed_at":"2020-05-23T12:23:18.000Z","size":1363,"stargazers_count":24,"open_issues_count":6,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T17:23:25.582Z","etag":null,"topics":["airtable","fetch","nodejs"],"latest_commit_sha":null,"homepage":"https://menubar.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pindlebot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-08T18:46:51.000Z","updated_at":"2025-01-13T05:54:16.000Z","dependencies_parsed_at":"2022-09-03T11:00:58.942Z","dependency_job_id":null,"html_url":"https://github.com/pindlebot/airtable-node","commit_stats":null,"previous_names":["unshift/airtable-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fairtable-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fairtable-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fairtable-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pindlebot%2Fairtable-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pindlebot","download_url":"https://codeload.github.com/pindlebot/airtable-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251730857,"owners_count":21634466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","fetch","nodejs"],"created_at":"2025-01-09T22:56:07.596Z","updated_at":"2025-04-30T15:26:53.075Z","avatar_url":"https://github.com/pindlebot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# airtable-node [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]\n\u003e Node wrapper for Airtable API\n\n## Installation\n\n```sh\n$ npm i airtable-node --save\n```\n\n## Usage\n\n```js\nconst Airtable = require('airtable-node');\n\nconst airtable = new Airtable({ apiKey: 'xxx' })\n  .base('appRvT3sM3XOBruUk')\n  .table('Team Members')\n\nairtable.list().then(resp =\u003e {\n  console.log(resp)\n})\n\nairtable.list({\n  filterByFormula: `NOT({Feature} = '')`, // optional\n  maxRecords: 200, // optional\n  pageSize: 100, // optional \n  sort: [{ field: 'name', direction: 'asc' }], // optional\n  view: 'Airtable View', // optional\n  cellFormat: 'json', // optional\n  timeZone, // optional\n  userLocale // optional\n},\noffset //optional\n).then(resp =\u003e {\n  console.log(resp)\n})\n\n```\n\n## Methods \n\n### Airtable({ apiKey, base, table, view })\n\n- required: apiKey\n- all other parameters can be set via chaining\n\n\n#### Example\n\n```js\nconst airtable = new Airtable({ apiKey, base, table, view })\n```\n\n### Airtable.list(params)\n\nAirtable.list returns a promise.\n\n#### Example\n\n```js\nconst airtable = new Airtable({ apiKey, base, table, view })\nairtable.list({\n  maxRecords: 200\n}).then(resp =\u003e {\n  console.log(resp)\n})\n\n```\n\n### Airtable.update(id, { fields })\n\n#### Example\n\n```js\nconst airtable = new Airtable({ apiKey, base, table })\nconst id = 'airtable record id'\nconst fields = {\n  some_field_name: 'some value'\n}\n\nairtable.update(id, { fields }).then(resp =\u003e {\n  console.log(resp)\n})\n```\n\n### Airtable.retrieve(id)\n\n- required: id\n\n```js\nconst airtable = new Airtable({ apiKey, base, table })\nconst id = 'airtable record id'\n\nairtable.retrieve(id).then(resp =\u003e {\n  console.log(resp)\n})\n```\n\n\n### Airtable.delete(id)\n- required: id\n\n#### Example\n\n```js\nconst airtable = new Airtable({apiKey, base, table})\nconst id = 'airtable record id'\n\nairtable.delete(id).then(resp =\u003e {\n  console.log(resp)\n})\n\n```\n\n\n\n## License\n\nMIT © [Ben](http://www.menubar.io)\n\n\n[npm-image]: https://badge.fury.io/js/airtable-node.svg\n[npm-url]: https://npmjs.org/package/airtable-node\n[travis-image]: https://travis-ci.org/focuswish/airtable-node.svg?branch=master\n[travis-url]: https://travis-ci.org/focuswish/airtable-node\n[daviddm-image]: https://david-dm.org/focuswish/airtable-node.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/focuswish/airtable-node\n[coveralls-image]: https://coveralls.io/repos/focuswish/airtable-node/badge.svg\n[coveralls-url]: https://coveralls.io/r/focuswish/airtable-node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpindlebot%2Fairtable-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpindlebot%2Fairtable-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpindlebot%2Fairtable-node/lists"}