{"id":19239179,"url":"https://github.com/atomotic/iccu","last_synced_at":"2026-06-13T06:33:24.208Z","repository":{"id":257729407,"uuid":"830934169","full_name":"atomotic/iccu","owner":"atomotic","description":"A Go client for ICCU API","archived":false,"fork":false,"pushed_at":"2025-11-17T13:40:35.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T15:21:52.361Z","etag":null,"topics":["iccu","sbn"],"latest_commit_sha":null,"homepage":"","language":"Go","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/atomotic.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-19T09:51:21.000Z","updated_at":"2025-11-17T13:40:39.000Z","dependencies_parsed_at":"2024-09-18T10:06:05.093Z","dependency_job_id":"50020661-63ce-4b3d-8497-8e5f324a062e","html_url":"https://github.com/atomotic/iccu","commit_stats":null,"previous_names":["atomotic/iccu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atomotic/iccu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomotic%2Ficcu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomotic%2Ficcu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomotic%2Ficcu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomotic%2Ficcu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomotic","download_url":"https://codeload.github.com/atomotic/iccu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomotic%2Ficcu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34275068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["iccu","sbn"],"created_at":"2024-11-09T16:37:45.211Z","updated_at":"2026-06-13T06:33:24.203Z","avatar_url":"https://github.com/atomotic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Go client for ICCU API\n\nhttps://api.iccu.sbn.it/devportal/apis\n\n_Work in progress, do not use._\n\nExample usage:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/atomotic/iccu/client\"\n\t\"github.com/atomotic/iccu/nomi\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\tc, err := client.New(ctx, \"$key\", \"$secret\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Search returns an iterator that handles pagination automatically\n\tfor doc := range nomi.Search(ctx, c, \"alei* crowley\", nil) {\n\t\tfmt.Printf(\"%s - %s - %s\\n\", doc.ID, doc.Bid(), doc.Name())\n\t}\n}\n```\n\nOutput:\n```\nIT\\ICCU\\CFIV\\025223 - http://id.sbn.it/bid/CFIV025223 - Crowley, Aleister\n```\n\nWith custom page size and total count:\n\n```go\n// Get total count of results\niter, total, err := nomi.SearchWithTotal(ctx, c, \"dante\", nil)\nif err != nil {\n\tlog.Fatal(err)\n}\n\ncount := 0\nfor doc := range iter {\n\tfmt.Printf(\"%s - %s\\n\", doc.ID, doc.Name())\n\tcount++\n}\nfmt.Printf(\"Fetched %d out of %d total results\\n\", count, *total)\n\n// Custom page size\nopts := \u0026nomi.SearchOptions{PageSize: 100}\nfor doc := range nomi.Search(ctx, c, \"dante\", opts) {\n\tfmt.Println(doc.Name())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomotic%2Ficcu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomotic%2Ficcu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomotic%2Ficcu/lists"}