{"id":20655126,"url":"https://github.com/zxol/atwrap","last_synced_at":"2025-04-19T11:51:52.207Z","repository":{"id":57186526,"uuid":"124628733","full_name":"zxol/atwrap","owner":"zxol","description":"promisified airtable wrapper","archived":false,"fork":false,"pushed_at":"2019-01-18T00:06:55.000Z","size":30,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T07:33:24.903Z","etag":null,"topics":["airtable","database","javascript","node","wrapper"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxol.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":"2018-03-10T06:23:03.000Z","updated_at":"2025-03-16T17:59:03.000Z","dependencies_parsed_at":"2022-09-14T16:50:51.013Z","dependency_job_id":null,"html_url":"https://github.com/zxol/atwrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxol%2Fatwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxol%2Fatwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxol%2Fatwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxol%2Fatwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxol","download_url":"https://codeload.github.com/zxol/atwrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249687923,"owners_count":21311130,"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","database","javascript","node","wrapper"],"created_at":"2024-11-16T18:09:01.229Z","updated_at":"2025-04-19T11:51:52.178Z","avatar_url":"https://github.com/zxol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# atwrap\n\nA wrapper for common functions for accessing data on an airtable.com database.  All queries return promises.\n\n## installation\n\n```\nnpm i -s atwrap\n```\n\n## Usage\n\n```\nimport Atwrap from 'atwrap'\nconst at = new Atwrap({apiKey: 'key9sdfkjisrfoi', databaseRef: 'appOIjFOIJJFioj'}) // faked data\n```\nnote: you may create multiple instances for different databases, but only if they share the same api key.\nFind your api key and database ref ID on the interactive docs page on airtable.com\n\n## Interface list\n\n```\nconst record = await at.get.single({tableName, id})\n\nconst allRecords = await at.get.all(tableName)\n\nconst matchedRecords = await at.get.find({tableName, column, value})\nconst matchedRecords = await at.get.match({tableName, column, value})\nconst matchedRecords = await at.get.findAll({tableName, column, value})\n\nconst queryResult = await at.get.select({tableName, select})\n\nconst newRecord = await at.insert({tableName, data})\nconst newRecord = await at.add({tableName, data})\nconst newRecord = await at.create({tableName, data})\n\nconst updatedRecord = await at.update({tableName, id, data})\nconst updatedRecord = await at.set({tableName, id, data})\n\nconst deletedRecord = await at.delete({tableName, id})\nconst deletedRecord = await at.remove({tableName, id})\nconst deletedRecord = await at.destroy({tableName, id})\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxol%2Fatwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxol%2Fatwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxol%2Fatwrap/lists"}