{"id":20714607,"url":"https://github.com/vsashyn/sentry-got","last_synced_at":"2026-04-18T00:32:04.533Z","repository":{"id":48536835,"uuid":"244426864","full_name":"vsashyn/sentry-got","owner":"vsashyn","description":"Convenience wrapper for Got to interact with the Sentry API","archived":false,"fork":false,"pushed_at":"2023-02-12T11:26:36.000Z","size":14,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T14:42:42.994Z","etag":null,"topics":["got","sentry"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/vsashyn.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":"2020-03-02T17:03:34.000Z","updated_at":"2023-03-04T04:48:47.000Z","dependencies_parsed_at":"2024-11-17T04:02:34.572Z","dependency_job_id":null,"html_url":"https://github.com/vsashyn/sentry-got","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vsashyn/sentry-got","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsashyn%2Fsentry-got","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsashyn%2Fsentry-got/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsashyn%2Fsentry-got/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsashyn%2Fsentry-got/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsashyn","download_url":"https://codeload.github.com/vsashyn/sentry-got/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsashyn%2Fsentry-got/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31951289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["got","sentry"],"created_at":"2024-11-17T02:32:59.390Z","updated_at":"2026-04-18T00:32:04.510Z","avatar_url":"https://github.com/vsashyn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentry-got\n\n\u003e Convenience wrapper for [Got](https://github.com/sindresorhus/got) to interact with the [Sentry API](https://docs.sentry.io/api/)\n\n## Install\n\n```\nnpm i sentry-got\n```\n\n## Usage\n\nInstead of:\n\n```js\nconst got = require('got');\nconst token = 'foo';\n\n(async () =\u003e {\n\tconst {body} = await got('https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/events/', {\n\t\theaders: {\n      'authorization': `Bearer ${token}`,\n\t\t}\n\t});\n\tconsole.log(body);\n\t//=\u003e '[]'\n})();\n```\n\nYou can do:\n\n```js\nconst sentryGot = require('sentry-got');\n\n(async () =\u003e {\n\tconst {body} = await sentryGot('projects/{organization_slug}/{project_slug}/events/', {token: 'foo'});\n\tconsole.log(body.events);\n\t//=\u003e '[]'\n})();\n```\n\nor pass `SENTRY_ENDPOINT` and `SENTRY_TOKEN` as environment variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsashyn%2Fsentry-got","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsashyn%2Fsentry-got","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsashyn%2Fsentry-got/lists"}