{"id":21441902,"url":"https://github.com/httpjamesm/kagigo","last_synced_at":"2025-07-14T17:32:23.560Z","repository":{"id":173101971,"uuid":"650212979","full_name":"httpjamesm/kagigo","owner":"httpjamesm","description":"Kagi AI client for Go.","archived":false,"fork":false,"pushed_at":"2024-05-04T03:23:05.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-04T09:12:29.077Z","etag":null,"topics":["api","go","kagi"],"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/httpjamesm.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-06-06T15:27:51.000Z","updated_at":"2024-05-04T03:22:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb56576f-adc0-4bc4-bfb8-6c39f8b57d4b","html_url":"https://github.com/httpjamesm/kagigo","commit_stats":null,"previous_names":["httpjamesm/kagigo"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fkagigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fkagigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fkagigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpjamesm%2Fkagigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/httpjamesm","download_url":"https://codeload.github.com/httpjamesm/kagigo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225990490,"owners_count":17556153,"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":["api","go","kagi"],"created_at":"2024-11-23T01:44:27.541Z","updated_at":"2024-11-23T01:44:27.956Z","avatar_url":"https://github.com/httpjamesm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kagigo\n\nAn unofficial [Kagi API](https://help.kagi.com/kagi/api/overview.html) client for Go.\n\n## Installation\n\n```bash\ngo get -u github.com/httpjamesm/kagigo\n```\n\n## Quick Start\n\n### Client\n\n```go\nclient := kagi.NewClient(\u0026kagi.ClientConfig{\n    APIKey:     os.Getenv(\"KAGI_API_KEY\"),\n    APIVersion: \"v0\",\n})\n```\n### FastGPT\n\n```go\nresponse, err := client.FastGPTCompletion(kagi.FastGPTCompletionParams{\n    Query:     \"query\",\n    WebSearch: true,\n    Cache:     true,\n})\nif err != nil {\n    fmt.Println(err)\n    return\n}\nfmt.Println(response.Data.Output)\n```\n\n### Universal Summarizer\n\n```go\nresponse, err := client.UniversalSummarizerCompletion(kagi.UniversalSummarizerParams{\n    URL:         \"https://blog.kagi.com/security-audit\",\n    SummaryType: kagi.SummaryTypeSummary,\n    Engine:      kagi.SummaryEngineCecil,\n})\nif err != nil {\n    fmt.Println(err)\n    return\n}\nfmt.Println(response.Data.Output)\n```\n\n### Enrichment\n\n```go\nresponse, err := client.EnrichmentCompletion(kagi.EndpointTypeWeb, kagi.EnrichmentParams{\n    Q: \"kagi search\",\n})\nif err != nil {\n    fmt.Println(err)\n    return\n}\nfmt.Println(response.Data)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Fkagigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttpjamesm%2Fkagigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpjamesm%2Fkagigo/lists"}