from google_play_scraper import Sort, reviews_all
import pandas as pd
# Define the app ID for Photoshop Express Photo Editor
APP_ID = 'com.supercell.clashofclans'
# Scrape all reviews
# You can adjust 'lang' (language) and 'country' to get reviews from specific regions.
# 'sort' can be Sort.NEWEST, Sort.RATING, or Sort.HELPFULNESS
# 'sleep_milliseconds' can be increased if you encounter issues, to space out requests.
reviews_data = reviews_all(
APP_ID,
sleep_milliseconds=0, # No delay between requests
lang='en', # English reviews
country='in', # Reviews from the United States
sort=Sort.NEWEST, # Sort by newest reviews
# filter_score_with=5 # Uncomment to filter for specific star ratings (e.g., 5-star reviews only)
)
# Convert the list of dictionaries to a Pandas DataFrame for easier analysis
df= pd.DataFrame(reviews_data)
# Display the first few rows of the DataFrame
print(df.head(40))
You can get the APP ID when you go to the HTTPS link that comes after "id="