Skip to content

Commit bad1de6

Browse files
Merge pull request #3 from outscraper/os-add-similarweb-company-insights-finder
added similarweb, company website finder
2 parents 9c4d1f8 + 785bf35 commit bad1de6

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'java'
22
apply plugin: 'maven-publish'
33

44
group = 'com.github.outscraper'
5-
version = '2.1.0'
5+
version = '2.1.1'
66

77
repositories {
88
mavenCentral()

src/main/java/OutscraperClient.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,20 @@ public JSONArray trustpilotSearch(HashMap<String, Object> parameters) {
364364

365365
return getData(response);
366366
}
367+
368+
public JSONArray similarweb(HashMap<String, Object> parameters) {
369+
parameters.put("async", false);
370+
371+
JSONObject response = getAPIRequest("/similarweb", parameters);
372+
373+
return getData(response);
374+
}
375+
376+
public JSONArray companyWebsiteFinder(HashMap<String, Object> parameters) {
377+
parameters.put("async", false);
378+
379+
JSONObject response = getAPIRequest("/company-website-finder", parameters);
380+
381+
return getData(response);
382+
}
367383
}

0 commit comments

Comments
 (0)