{"id":27450978,"url":"https://github.com/kkjdaniel/gogeek","last_synced_at":"2026-03-07T22:07:58.052Z","repository":{"id":287876971,"uuid":"966086266","full_name":"kkjdaniel/gogeek","owner":"kkjdaniel","description":"A lightweight, easy-to-use Go module designed to streamline interactions with the BoardGameGeek API (XML API2).","archived":false,"fork":false,"pushed_at":"2025-11-04T01:50:18.000Z","size":5136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-04T03:27:39.307Z","etag":null,"topics":["bgg","bgg-api","board-game","boardgamegeek","boardgames"],"latest_commit_sha":null,"homepage":"","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/kkjdaniel.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T11:35:11.000Z","updated_at":"2025-11-04T01:50:00.000Z","dependencies_parsed_at":"2025-05-26T05:46:11.443Z","dependency_job_id":null,"html_url":"https://github.com/kkjdaniel/gogeek","commit_stats":null,"previous_names":["kkjdaniel/gogeek"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/kkjdaniel/gogeek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkjdaniel%2Fgogeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkjdaniel%2Fgogeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkjdaniel%2Fgogeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkjdaniel%2Fgogeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkjdaniel","download_url":"https://codeload.github.com/kkjdaniel/gogeek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkjdaniel%2Fgogeek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30233432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":["bgg","bgg-api","board-game","boardgamegeek","boardgames"],"created_at":"2025-04-15T09:37:47.470Z","updated_at":"2026-03-07T22:07:58.026Z","avatar_url":"https://github.com/kkjdaniel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"gogeek-logo.png\" width=\"250\" alt=\"GoGeek Logo\"\u003e\n\u003c/p\u003e\n\n# GoGeek: Go Module for the BoardGameGeek API\n\n[![Go Reference](https://pkg.go.dev/badge/pkg.go.dev/github.com/kkjdaniel/gogeek.svg)](https://pkg.go.dev/github.com/kkjdaniel/gogeek)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kkjdaniel/gogeek)](https://goreportcard.com/report/github.com/kkjdaniel/gogeek)\n[![codecov](https://codecov.io/gh/kkjdaniel/gogeek/graph/badge.svg?token=W78TFFY83D)](https://codecov.io/gh/kkjdaniel/gogeek)\n\nGoGeek is a lightweight, easy-to-use Go module designed to streamline interactions with the [BoardGameGeek API](https://boardgamegeek.com/wiki/page/BGG_XML_API2) (XML API2).\n\n## Key Features\n\n- **🔄 Simple Request Handling**: GoGeek abstracts the BGG API request process, allowing you to focus on utilising the data rather than managing HTTP requests.\n- **📄 Data Parsing**: Automatically converts and normalises XML responses from the BGG API into Go structs, so you can work with structured data effortlessly.\n- **⚠️ Error Handling**: Robust error handling for common issues like network errors, rate limiting, queued requests and unexpected response formats.\n\n## Setup\n\nTo setup GoGeek, use the following `go get` command:\n\n```bash\ngo get github.com/kkjdaniel/gogeek\n```\n\n## Usage\n\nGetting started with GoGeek is easy. Here’s a quick example to fetch details about specific board games:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/kkjdaniel/gogeek/thing\"\n)\n\nfunc main() {\n\tgames, err := thing.Query([]int{13, 12, 3})\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfor _, game := range games.Items {\n\t\tfmt.Printf(\"Name: %s\\nYear Published: %d\\n\", game.Name[0].Value, game.YearPublished.Value)\n\t}\n}\n```\n\n```\nName: CATAN\nYear Published: 1995\nName: Ra\nYear Published: 1999\nName: Samurai\nYear Published: 1998\n```\n\nThe `thing` query allows you to fetch details about a specific or multiple board games by BGG ID.\n\n_Note: There is a query limit of 20 IDs per query due to restrictions of the BGG API. If you wish to fetch multiple games you will need to batch your requests._\n\n## Documentation\n\nFor the full documentation please see the [GoDoc here](https://pkg.go.dev/github.com/kkjdaniel/gogeek). Details on how to use each query function as well as the interfaces for each of the APIs can be found within their respective packages.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request or open an issue on GitHub to help improve GoGeek.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkjdaniel%2Fgogeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkjdaniel%2Fgogeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkjdaniel%2Fgogeek/lists"}