{"id":23394302,"url":"https://github.com/outscraper/outscraper-java","last_synced_at":"2025-06-14T21:33:34.265Z","repository":{"id":50055575,"uuid":"518545706","full_name":"outscraper/outscraper-java","owner":"outscraper","description":"The library provides convenient access to the Outscraper API from applications written in the Java language. Allows using Outscraper's services from your code. ","archived":false,"fork":false,"pushed_at":"2025-05-27T08:45:28.000Z","size":78,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-27T09:55:14.392Z","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":null,"language":"Java","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","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-27T17:06:24.000Z","updated_at":"2025-05-27T08:44:39.000Z","dependencies_parsed_at":"2025-02-14T12:47:06.182Z","dependency_job_id":"fb438b25-3ed6-4b5d-a296-0c3c114dbc2a","html_url":"https://github.com/outscraper/outscraper-java","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/outscraper/outscraper-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outscraper","download_url":"https://codeload.github.com/outscraper/outscraper-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259887518,"owners_count":22926944,"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.363Z","updated_at":"2025-06-14T21:33:34.257Z","avatar_url":"https://github.com/outscraper.png","language":"Java","readme":"# Outscraper Java Library\n\nThe library provides convenient access to the [Outscraper API](https://app.outscraper.com/api-docs) from applications written in the Java language. Allows using [Outscraper's services](https://outscraper.com/services/) from your code.\n\n## Installation\n\nJava 11 or later\n\n### Gradle\n\nEdit your build.gradle file\n``` sh\nrepositories {\n    maven { url \"https://jitpack.io\" }\n}\n\ndependencies {\n    implementation 'com.github.outscraper:outscraper-java:v2.1.0'\n}\n```\n\n### Maven\n\nAdd the JitPack repository to your build file\n``` sh\n\t\u003crepositories\u003e\n\t\t\u003crepository\u003e\n\t\t    \u003cid\u003ejitpack.io\u003c/id\u003e\n\t\t    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\t\t\u003c/repository\u003e\n\t\u003c/repositories\u003e\n```\n\nAdd the dependency\n``` sh\n\t\u003cdependency\u003e\n\t    \u003cgroupId\u003ecom.github.outscraper\u003c/groupId\u003e\n\t    \u003cartifactId\u003eoutscraper-java\u003c/artifactId\u003e\n\t    \u003cversion\u003ev2.1.0\u003c/version\u003e\n\t\u003c/dependency\u003e\n```\n\n### Others\n\nYou'll need to manually install the following JARs:\n- [The Outscraper JAR](https://jitpack.io/com/github/outscraper/outscraper-java/v2.1.0/outscraper-java-v2.1.0.jar)\n- [Json](https://repo1.maven.org/maven2/org/json/json/20090211/json-20090211.jar)\n- [Httpcomponents](https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar)\n- [Guava](https://repo1.maven.org/maven2/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar)\n\n## Initialization\n```java\nOutscraperClient client = new OutscraperClient(\"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```java\n// Search for businesses in specific locations:\nJSONArray results = client.googleMapsSearch(new HashMap\u003cString, Object\u003e() {{\n    put(\"query\", \"bars ny usa\");\n    put(\"limit\", 10);\n}});\nSystem.out.println(results);\n\n// Get data of the specific place by id\nJSONArray results = client.googleMapsSearch(new HashMap\u003cString, Object\u003e() {{\n    put(\"query\", \"rChIJrc9T9fpYwokRdvjYRHT8nI4\");\n    put(\"language\", \"en\");\n}});\nSystem.out.println(results);\n\n// Get reviews of the specific place by id\nJSONArray results = client.googleMapsReviews(new HashMap\u003cString, Object\u003e() {{\n    put(\"query\", \"rChIJrc9T9fpYwokRdvjYRHT8nI4\");\n    put(\"reviewsLimit\", 20);\n    put(\"language\", \"en\");\n}});\nSystem.out.println(results);\n\n// Search contacts from website\nJSONArray results = client.emailsAndContacts(new HashMap\u003cString, Object\u003e() {{\n    put(\"query\", \"outscraper.com\");\n}});\nSystem.out.println(results);\n```\n\n[More examples](https://github.com/outscraper/outscraper-java/tree/master/examples)\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/outscraper/outscraper-java.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutscraper%2Foutscraper-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-java/lists"}