{"id":46051384,"url":"https://github.com/buddy/api-go-sdk","last_synced_at":"2026-03-01T09:02:30.488Z","repository":{"id":39606457,"uuid":"477649713","full_name":"buddy/api-go-sdk","owner":"buddy","description":"SDK for Buddy rest api written in GO","archived":false,"fork":false,"pushed_at":"2025-12-17T07:12:27.000Z","size":440,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T04:50:05.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buddy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-04T10:22:28.000Z","updated_at":"2025-12-17T07:11:50.000Z","dependencies_parsed_at":"2024-04-19T07:29:05.492Z","dependency_job_id":"631eb1ae-31a7-48e6-8652-9c58e79ef179","html_url":"https://github.com/buddy/api-go-sdk","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/buddy/api-go-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fapi-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fapi-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fapi-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fapi-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buddy","download_url":"https://codeload.github.com/buddy/api-go-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fapi-go-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"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":[],"created_at":"2026-03-01T09:02:29.897Z","updated_at":"2026-03-01T09:02:30.477Z","avatar_url":"https://github.com/buddy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buddy SDK for Go\n\n`api-go-sdk` is the Buddy SDK for the Go programming language.\n\nThe SDK requires a minimum version of `Go 1.23`.\n\nCheckout out [our blog](https://buddy.works/blog) for information about the latest changes\n\n## Getting started\nTo get started working with the SDK setup your project for Go modules, and retrieve the SDK dependencies with `go get`.\nThis example shows how you can use the SDK to make an API request using the SDK's client.\n\n###### Initialize Project\n```sh\n$ mkdir ~/buddytest\n$ cd ~/buddytest\n$ go mod init buddytest\n```\n###### Add SDK Dependencies\n```sh\n$ go get github.com/buddy/api-go-sdk\n```\n\n###### Write Code\nIn your preferred editor add the following content to `main.go`\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  \"github.com/buddy/api-go-sdk/buddy\"\n  \"os\"\n)\n\nfunc main() {\n  client, err := buddy.NewDefaultClient(os.Getenv(\"BUDDY_TOKEN\"))\n  if err != nil {\n    fmt.Printf(\"Error: %s\", err.Error())\n    os.Exit(1)\n  }\n  profile, _, err := client.ProfileService.Get()\n  if err != nil {\n    fmt.Printf(\"Error: %s\", err.Error())\n    os.Exit(1)\n  } else {\n    fmt.Printf(\"My name is %s\", profile.Name)\n  }\n}\n```\n\n## Examples\nFor more examples go to [examples directory](https://github.com/buddy/api-go-sdk/tree/main/examples)\n\n## API docs\nFull API docs can be found [here](https://buddy.works/docs/api)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fapi-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuddy%2Fapi-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fapi-go-sdk/lists"}