{"id":19509570,"url":"https://github.com/raspi/googlecustomsearchapi","last_synced_at":"2025-10-20T00:33:14.476Z","repository":{"id":177684229,"uuid":"660752677","full_name":"raspi/googlecustomsearchapi","owner":"raspi","description":"Google's custom search REST API client for Go","archived":false,"fork":false,"pushed_at":"2023-07-12T16:03:20.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T22:46:31.248Z","etag":null,"topics":["go","golang","golang-library","google","google-search-api","rest-api"],"latest_commit_sha":null,"homepage":"","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/raspi.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-30T18:53:43.000Z","updated_at":"2023-07-18T09:34:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f97ae805-bb5a-4b3a-8976-b21b60830cdf","html_url":"https://github.com/raspi/googlecustomsearchapi","commit_stats":null,"previous_names":["raspi/googlecustomsearchapi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/raspi/googlecustomsearchapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Fgooglecustomsearchapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Fgooglecustomsearchapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Fgooglecustomsearchapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Fgooglecustomsearchapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raspi","download_url":"https://codeload.github.com/raspi/googlecustomsearchapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Fgooglecustomsearchapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279955748,"owners_count":26250566,"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","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"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":["go","golang","golang-library","google","google-search-api","rest-api"],"created_at":"2024-11-10T23:12:29.521Z","updated_at":"2025-10-20T00:33:14.456Z","avatar_url":"https://github.com/raspi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# googlecustomsearchapi\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/raspi/googlecustomsearchapi?style=for-the-badge)\n![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/raspi/googlecustomsearchapi?style=for-the-badge)\n[![Go Report Card](https://goreportcard.com/badge/github.com/raspi/googlecustomsearchapi)](https://goreportcard.com/report/github.com/raspi/googlecustomsearchapi)\n\nGoogle's custom search REST API v1 client for Go\n\n## Example\n\n```go\nfunc main() {\n\thttpc := http.DefaultClient\n\n\tgs := googlecustomsearchapi.New(httpc, \"api-key-here\", \"engine-id-here\")\n\n\tcustom := map[string]string{\n\t\t`siteSearchFilter`: `i`,\n\t\t`siteSearch`:       `www.imdb.com`,\n\t}\n\n\tres, err := gs.Search(`the room`, 0, custom)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfor _, r := range res.Items {\n\t\tfmt.Printf(`%v %v`+\"\\n\", r.Link, r.Title)\n\t}\n\n}\n```\n\n## References\n\n* https://developers.google.com/custom-search/v1/using_rest\n* https://developers.google.com/custom-search/v1/overview\n* https://console.cloud.google.com/apis/api/customsearch.googleapis.com/metrics\n* https://programmablesearchengine.google.com/controlpanel/all\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspi%2Fgooglecustomsearchapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraspi%2Fgooglecustomsearchapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspi%2Fgooglecustomsearchapi/lists"}