{"id":23394300,"url":"https://github.com/outscraper/outscraper-go","last_synced_at":"2025-04-08T16:22:41.305Z","repository":{"id":49441726,"uuid":"515537119","full_name":"outscraper/outscraper-go","owner":"outscraper","description":"The library provides convenient access to the Outscraper API from applications written in Go. Allows using Outscraper's services from your code.","archived":false,"fork":false,"pushed_at":"2023-03-14T17:56:37.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-14T12:53:40.151Z","etag":null,"topics":["google-maps-api","google-rating-api","google-reviews-api","google-scraping","google-serp-api","scraping","scraping-websites","serp-api"],"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/outscraper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-07-19T10:25:44.000Z","updated_at":"2023-03-23T15:35:08.000Z","dependencies_parsed_at":"2024-06-20T00:13:15.710Z","dependency_job_id":"03312e31-fac2-4272-8500-c07443a5a147","html_url":"https://github.com/outscraper/outscraper-go","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outscraper","download_url":"https://codeload.github.com/outscraper/outscraper-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878265,"owners_count":21011219,"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":["google-maps-api","google-rating-api","google-reviews-api","google-scraping","google-serp-api","scraping","scraping-websites","serp-api"],"created_at":"2024-12-22T06:14:20.229Z","updated_at":"2025-04-08T16:22:41.283Z","avatar_url":"https://github.com/outscraper.png","language":"Go","readme":"# Outscraper Go Library\n\nThe library provides convenient access to the [Outscraper API](https://app.outscraper.com/api-docs) from applications written in the Go language. Allows using [Outscraper's services](https://outscraper.com/services/) from your code.\n\n## Installation\n\nGo 1.10+ must be already installed.\n\nMake sure your project is using Go Modules (it will have a go.mod file in its root if it already is):\n``` sh\ngo mod init\n```\n\n``` go\ngo get -u github.com/outscraper/outscraper-go\n```\n\n[Link to the Go module page](https://pkg.go.dev/github.com/outscraper/outscraper-go)\n\n## Initialization\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/outscraper/outscraper-go\"\n)\n\nclient := outscraper.Client{ApiKey: \"SECRET_API_KEY\"}\n```\n[Link to the profile page to create the API key](https://app.outscraper.com/profile)\n\n## Usage\n\n```go\n// Search for businesses in specific locations:\nresults, _ := client.GoogleMapsSearch(map[string]string {\n\t\"query\": \"bars ny usa\",\n\t\"limit\": \"10\",\n})\nfmt.Println(results)\n\n// Get data of the specific place by id\nresults, _ := client.GoogleMapsSearch(map[string]string {\n\t\"query\": \"rChIJrc9T9fpYwokRdvjYRHT8nI4\",\n\t\"language\": \"en\",\n})\nfmt.Println(results)\n\n// Get reviews of the specific place by id\nresults, _ := client.GoogleMapsReviews(map[string]string {\n\t\"query\": \"rChIJrc9T9fpYwokRdvjYRHT8nI4\",\n\t\"reviewsLimit\": \"20\",\n\t\"language\": \"en\",\n})\nfmt.Println(results)\n\n// Search contacts from website\nresults, _ := client.EmailsAndContacts(map[string]string {\n\t\"query\": \"outscraper.com\",\n})\nfmt.Println(results)\n```\n\n[More examples](https://github.com/outscraper/outscraper-go/tree/master/examples)\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/outscraper/outscraper-go.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutscraper%2Foutscraper-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-go/lists"}