{"id":13413999,"url":"https://github.com/mehanizm/airtable","last_synced_at":"2026-02-25T15:39:38.970Z","repository":{"id":45293214,"uuid":"255054764","full_name":"mehanizm/airtable","owner":"mehanizm","description":"Simple golang airtable API wrapper","archived":false,"fork":false,"pushed_at":"2024-03-23T04:36:08.000Z","size":48,"stargazers_count":73,"open_issues_count":2,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-31T20:53:13.884Z","etag":null,"topics":["airtable","api","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mehanizm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-12T10:05:07.000Z","updated_at":"2024-06-26T13:59:35.000Z","dependencies_parsed_at":"2024-06-18T17:11:51.729Z","dependency_job_id":null,"html_url":"https://github.com/mehanizm/airtable","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/mehanizm/airtable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehanizm%2Fairtable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehanizm%2Fairtable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehanizm%2Fairtable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehanizm%2Fairtable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehanizm","download_url":"https://codeload.github.com/mehanizm/airtable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehanizm%2Fairtable/sbom","scorecard":{"id":635226,"data":{"date":"2025-08-11","repo":{"name":"github.com/mehanizm/airtable","commit":"b19a753f7a8460b1e70471974c212801903272e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":4,"reason":"Found 9/22 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/mehanizm/airtable/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/mehanizm/airtable/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/mehanizm/airtable/go.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T08:57:51.504Z","repository_id":45293214,"created_at":"2025-08-21T08:57:51.504Z","updated_at":"2025-08-21T08:57:51.504Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29828391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T14:53:59.163Z","status":"ssl_error","status_checked_at":"2026-02-25T14:53:23.002Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","api","go","golang"],"created_at":"2024-07-30T20:01:54.838Z","updated_at":"2026-02-25T15:39:38.953Z","avatar_url":"https://github.com/mehanizm.png","language":"Go","funding_links":[],"categories":["Third-party APIs","Go","第三方API`第三方API 汇总`","第三方API","第三方api","Utility"],"sub_categories":["Utility/Miscellaneous","Fail injection","查询语","实用程序/Miscellaneous","HTTP Clients"],"readme":"Golang Airtable API\n================\n\n[![GoDoc](https://godoc.org/github.com/mehanizm/airtable?status.svg)](https://pkg.go.dev/github.com/mehanizm/airtable)\n![Go](https://github.com/mehanizm/airtable/workflows/Go/badge.svg)\n[![codecov](https://codecov.io/gh/mehanizm/airtable/branch/master/graph/badge.svg)](https://codecov.io/gh/mehanizm/airtable)\n[![Go Report](https://goreportcard.com/badge/github.com/mehanizm/airtable)](https://goreportcard.com/badge/github.com/mehanizm/airtable)\n[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)\n\nA simple #golang package to access the [Airtable API](https://airtable.com/api).\n\nTable of contents\n===\n- [Golang Airtable API](#golang-airtable-api)\n- [Table of contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Basic usage](#basic-usage)\n    - [Initialize client](#initialize-client)\n    - [Get table](#get-table)\n    - [List records](#list-records)\n    - [Add records](#add-records)\n    - [Get record by ID](#get-record-by-id)\n    - [Update records](#update-records)\n    - [Delete record](#delete-record)\n    - [Bulk delete records](#bulk-delete-records)\n  - [Special thanks](#special-thanks)\n  \n\n## Installation\n\nThe Golang Airtable API has been tested compatible with Go 1.13 on up.\n\n```\ngo get github.com/mehanizm/airtable\n```\n\n## Basic usage\n\n### Initialize client\n\nYou should get `your_api_token` in the airtable [account page](https://airtable.com/account)\n```Go\nclient := airtable.NewClient(\"your_api_token\")\n```\n\nYou can use custom http client here\n```Go\nclient.SetCustomClient(http.DefaultClient)\n```\n\n### Custom context\nEach method below can be used with custom context. Simply use `MethodNameContext` call and provide context as first argument.\n\n### List bases\n\n```Go\nbases, err := client.GetBases().WithOffset(\"\").Do()\n```\n\n### Get base schema\n\n```Go\nschema, err := client.GetBaseSchema(\"your_database_ID\").Do()\n```\n\n### Get table\n\nTo get the `your_database_ID` you should go to [main API page](https://airtable.com/api) and select the database.\n\n```Go\ntable := client.GetTable(\"your_database_ID\", \"your_table_name\")\n```\n\n### List records\n\nTo get records from the table you can use something like this\n\n```Go\nrecords, err := table.GetRecords().\n\tFromView(\"view_1\").\n\tWithFilterFormula(\"AND({Field1}='value_1',NOT({Field2}='value_2'))\").\n\tWithSort(sortQuery1, sortQuery2).\n\tReturnFields(\"Field1\", \"Field2\").\n\tInStringFormat(\"Europe/Moscow\", \"ru\").\n\tDo()\nif err != nil {\n\t// Handle error\n}\n```\n\n### Add records\n\n```Go\nrecordsToSend := \u0026airtable.Records{\n    Records: []*airtable.Record{\n        {\n            Fields: map[string]any{\n                \"Field1\": \"value1\",\n                \"Field2\": true,\n            },\n        },\n    },\n}\nreceivedRecords, err := table.AddRecords(recordsToSend)\nif err != nil {\n\t// Handle error\n}\n```\n\n### Get record by ID\n\n```Go\nrecord, err := table.GetRecord(\"recordID\")\nif err != nil {\n\t// Handle error\n}\n```\n\n### Update records\n\nTo partial update one record\n\n```Go\nres, err := record.UpdateRecordPartial(map[string]any{\"Field_2\": false})\nif err != nil {\n\t// Handle error\n}\n```\n\nTo full update records\n\n```Go\ntoUpdateRecords := \u0026airtable.Records{\n    Records: []*airtable.Record{\n        {\n            Fields: map[string]any{\n                \"Field1\": \"value1\",\n                \"Field2\": true,\n            },\n        },\n        {\n            Fields: map[string]any{\n                \"Field1\": \"value1\",\n                \"Field2\": true,\n            },\n        },\n    },\n}\nupdatedRecords, err := table.UpdateRecords(toUpdateRecords)\nif err != nil {\n\t// Handle error\n}\n```\n\n### Delete record\n\n```Go\nres, err := record.DeleteRecord()\nif err != nil {\n\t// Handle error\n}\n```\n\n### Bulk delete records\n\nTo delete up to 10 records\n\n```Go\nrecords, err := table.DeleteRecords([]string{\"recordID1\", \"recordsID2\"})\nif err != nil {\n\t// Handle error\n}\n```\n\n## Special thanks\n\nInspired by [Go Trello API](github.com/adlio/trello)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehanizm%2Fairtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehanizm%2Fairtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehanizm%2Fairtable/lists"}