mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-13 12:15:05 +00:00
feat(score): add score text
This commit is contained in:
1 parent
a4646c91ca
commit
3c1d60b248
2 files changed
+18
No files matched your search
@@ -83,6 +83,15 @@ public class AppStoreScraper {
|
||||
return response.score();
|
||||
}
|
||||
|
||||
public static String getAppScoreText(String appId, String country) {
|
||||
var response = getAppResponse(appId, country);
|
||||
if (response == null) {
|
||||
log.error("response is null");
|
||||
return "";
|
||||
}
|
||||
return response.scoreText();
|
||||
}
|
||||
|
||||
public static long getAppReviews(String appId, String country) {
|
||||
var response = getAppResponse(appId, country);
|
||||
if (response == null) {
|
||||
|
||||
@@ -84,6 +84,15 @@ public class GooglePlayScraper {
|
||||
return response.score();
|
||||
}
|
||||
|
||||
public static String getAppScoreText(String appId, String country) {
|
||||
var response = getAppResponse(appId, country);
|
||||
if (response == null) {
|
||||
log.error("response is null");
|
||||
return "";
|
||||
}
|
||||
return response.scoreText();
|
||||
}
|
||||
|
||||
public static long getAppRatings(String appId, String country) {
|
||||
var response = getAppResponse(appId, country);
|
||||
if (response == null) {
|
||||
|
||||
Reference in new issue
Block a user