{"id":21031971,"url":"https://github.com/navid2zp/googlekg","last_synced_at":"2026-05-21T02:08:25.622Z","repository":{"id":57536916,"uuid":"196766619","full_name":"Navid2zp/googlekg","owner":"Navid2zp","description":"Google Knowledge Graph Search API bindings.","archived":false,"fork":false,"pushed_at":"2020-04-07T22:52:29.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T15:32:03.442Z","etag":null,"topics":["api","go","golang","google","google-knowledge-graph"],"latest_commit_sha":null,"homepage":null,"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/Navid2zp.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}},"created_at":"2019-07-13T21:09:13.000Z","updated_at":"2022-08-18T07:10:56.000Z","dependencies_parsed_at":"2022-08-29T00:30:27.561Z","dependency_job_id":null,"html_url":"https://github.com/Navid2zp/googlekg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navid2zp%2Fgooglekg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navid2zp%2Fgooglekg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navid2zp%2Fgooglekg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navid2zp%2Fgooglekg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Navid2zp","download_url":"https://codeload.github.com/Navid2zp/googlekg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243473933,"owners_count":20296664,"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","golang","google","google-knowledge-graph"],"created_at":"2024-11-19T12:39:18.196Z","updated_at":"2025-12-30T03:12:23.270Z","avatar_url":"https://github.com/Navid2zp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# googlekg\nGoogle Knowledge Graph Search API bindings.\n\nThis package provides the API bindings for google knowledge graph search api.\n\nDetailed API reference: https://developers.google.com/knowledge-graph/reference/rest/v1\n\n## Install\n\n```\ngo get -u https://github.com/Navid2zp/googlekg\n```\n\n## Example:\n```go\nreq, err := googlekg.Make(\"YOUR_API_KEY\")\nif err != nil {\n    fmt.Println(err)\n}\n// Set a query string\nreq.SetQuery(\"github\")\n\nres, err := req.Do()\nif err != nil {\n    fmt.Println(err)\n}\n\nfmt.Println(res)\n\n// Response will be a KG struct type when response status code is 200.\n```\n\n**Methods:**\n\n```go\n// To set \"limit\" parameter\nreq.SetLimit(10)\n\n// To set \"query\" parameter\nreq.Query(\"github\")\n\n// To set \"indent\" parameter\nreq.SetIndent(true)\n\n// To set \"prefix\" parameter\nreq.SetPreFix(true)\n\n// To set \"ids\" parameters\nreq.SetIDs([]string{\"/m/0dl567\"})\n\n// To set \"languages\" parameters\nreq.SetLanguages([]string{\"en\", \"fa\"})\n\n// To set \"types\" parameters\nreq.SetTypes([]string{\"Person\", \"Thing\"})\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavid2zp%2Fgooglekg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavid2zp%2Fgooglekg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavid2zp%2Fgooglekg/lists"}