{"id":37183952,"url":"https://github.com/tkruer/go-redcap","last_synced_at":"2026-01-14T21:14:53.062Z","repository":{"id":235547822,"uuid":"754190395","full_name":"tkruer/go-redcap","owner":"tkruer","description":"Go REDCap client","archived":false,"fork":false,"pushed_at":"2025-03-28T18:05:46.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-10T10:13:55.098Z","etag":null,"topics":["go","golang","redcap","redcap-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkruer.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}},"created_at":"2024-02-07T15:19:57.000Z","updated_at":"2025-01-30T15:35:27.000Z","dependencies_parsed_at":"2024-04-23T20:16:00.084Z","dependency_job_id":"790b5c2d-19ae-4b11-8784-2612683e18e5","html_url":"https://github.com/tkruer/go-redcap","commit_stats":null,"previous_names":["tkruer/go-redcap"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tkruer/go-redcap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkruer%2Fgo-redcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkruer%2Fgo-redcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkruer%2Fgo-redcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkruer%2Fgo-redcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkruer","download_url":"https://codeload.github.com/tkruer/go-redcap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkruer%2Fgo-redcap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["go","golang","redcap","redcap-api"],"created_at":"2026-01-14T21:14:52.312Z","updated_at":"2026-01-14T21:14:53.038Z","avatar_url":"https://github.com/tkruer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-redcap\n\n\u003e [!WARNING]  \n\u003e This is a Go client for the REDCap API. It is a work in progress and is not yet feature complete as of 04/23/2024.\n\n## Overview\n\nIt is based on the [REDCap API documentation](https://redcap.vanderbilt.edu/api/help/) and aims to provide a simple and easy-to-use interface for interacting with REDCap projects. Use this client understanding that some functionality may be limited or in development.\n\n## Example Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n\n    redcap \"github.com/tkruer/go-redcap/pkg\"\n)\n\nfunc main() {\n    // Create a new client\n    client := redcap.RedCapClient{\n\t\tURL:            \"https://redcap.example.com/api/\",\n\t\tToken:          \"YOUR_API_TOKEN\",\n\t\tResponseFormat: \"json\",\n\t}\n    // Export events from a project\n    client.ExportEvents()     \n}\n```\n\n## Installation\n\nTo install the package, run:\n\n```bash\ngo get github.com/tkruer/go-redcap\n```\n\n## Documentation\n\nFor more information, please refer to the [GoDoc documentation](https://pkg.go.dev/github.com/tkruer/go-redcap). You can also find additional documentation and examples in the [examples](https://github.com/tkruer/go-redcap/tree/main/examples) directory. Common use cases for this library include exporting data, importing data, and managing records in a REDCap project from either a CLI or a API wrapper.\n\nThis library is really a layer of abstraction on top of the REDCap API. It is designed to make it easier to interact with REDCap projects by providing a simple and easy-to-use interface for common tasks. It is not intended to be a complete implementation of the REDCap API, but rather a starting point for building more complex applications.\n\n## Contributing\n\nContributions are welcome! Please feel free to open an issue or submit a pull request if you find a bug or would like to suggest an improvement. Before submitting a pull request, please make sure to run `go fmt` and `go test` to ensure that your code is properly formatted and passes all tests.\n\n## Features\n\nCurrently, these API calls are available:\n\nCertainly! Below are the markdown tables for the documentation, with a single column for the feature and a checkmark (✅) indicating the capability.\n\n### Export\n\n| Feature                         | Available |\n|---------------------------------|:---------:|\n| Arms                            |     ✅     |\n| Data Access Groups              |     ✅     |\n| Events                          |     ✅     |\n| Field names                     |     ✅     |\n| Instruments                     |     ✅     |\n| Instrument-event mapping        |     ✅     |\n| File                            |     ✅     |\n| Logging                         |     ✅     |\n| Metadata                        |     ✅     |\n| Project Info                    |     ✅     |\n| PDF of instruments              |     ✅     |\n| Records                         |     ✅     |\n| Repeating instruments and events|     ✅     |\n| Report                          |     ✅     |\n| Survey participant list         |     ✅     |\n| Users                           |     ✅     |\n| User-DAG assignment             |     ✅     |\n| User Roles                      |     ✅     |\n| User-Role assignment            |     ✅     |\n| Version                         |     ✅     |\n\n### Import\n\n| Feature                         | Available |\n|---------------------------------|:---------:|\n| Arms                            |     ✅     |\n| Data Access Groups              |     ✅     |\n| Events                          |     ✅     |\n| File                            |     ✅     |\n| Instrument-event mapping        |     ✅     |\n| Metadata                        |     ✅     |\n| Records                         |     ✅     |\n| Repeating instruments and events|     ✅     |\n| Users                           |     ✅     |\n| User-DAG assignment             |     ✅     |\n| User Roles                      |     ✅     |\n| User-Role assignment            |     ✅     |\n\n### Delete\n\n| Feature                         | Available |\n|---------------------------------|:---------:|\n| Arms                            |     ✅     |\n| Data Access Groups              |     ✅     |\n| Events                          |     ✅     |\n| File                            |     ✅     |\n| Records                         |     ✅     |\n| Users                           |     ✅     |\n| User Roles                      |     ✅     |\n\n### Other\n\n| Feature                        | Available |\n|--------------------------------|:---------:|\n| Generate next record name      |     ✅     |\n| Switch data access group       |     ✅     |\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/tkruer/go-redcap/tree/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkruer%2Fgo-redcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkruer%2Fgo-redcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkruer%2Fgo-redcap/lists"}