{"id":29572719,"url":"https://github.com/accelbyte/ic-go-sdk","last_synced_at":"2025-07-19T05:11:03.536Z","repository":{"id":211926568,"uuid":"730265411","full_name":"AccelByte/ic-go-sdk","owner":"AccelByte","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-30T04:39:30.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-06-19T05:34:12.915Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AccelByte.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}},"created_at":"2023-12-11T14:53:22.000Z","updated_at":"2023-12-19T06:03:48.000Z","dependencies_parsed_at":"2024-01-30T05:42:04.713Z","dependency_job_id":null,"html_url":"https://github.com/AccelByte/ic-go-sdk","commit_stats":null,"previous_names":["accelbyte/ic-go-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AccelByte/ic-go-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fic-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fic-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fic-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fic-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AccelByte","download_url":"https://codeload.github.com/AccelByte/ic-go-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AccelByte%2Fic-go-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892526,"owners_count":23845036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-07-19T05:11:02.911Z","updated_at":"2025-07-19T05:11:03.526Z","avatar_url":"https://github.com/AccelByte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ic-go-sdk\n\n\nThis is AccelByte's IC Go SDK for integrating with IC in Go projects.\n\n## Usage\n\n### Importing package\n\n```go\nimport \"github.com/AccelByte/ic-go-sdk\"\n```\n\n### Creating default IC client\n\n```go\ncfg := \u0026iam.Config{\n    BaseURL: \"\u003cIAM URL\u003e\",\n    ClientID: \"\u003cclient ID\u003e\",\n    ClientSecret: \"\u003cclient secret\u003e\",\n}\n\nclient := iam.NewDefaultClient(cfg)\n\ncfg := \u0026ic.Config{\n    BaseURL:      \"\u003cIAM URL\u003e\",\n    ClientID:     \"\u003cclient ID\u003e\",\n    ClientSecret: \"\u003cclient secret\u003e\",\n}\nclient := ic.NewDefaultClient(cfg)\n```\n\n### Validate config\n\n```go\n_, err := client.ClientToken()\nif err != nil {\n\tlogrus.Fatalf(\"ic-go-sdk start err: %v \\n\", err)\n}\n```\n\n### Example:\n1. replace the placeholder in ```example/example.go```\n2. ```go build example.go```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Fic-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccelbyte%2Fic-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccelbyte%2Fic-go-sdk/lists"}