Skip to content

Instantly share code, notes, and snippets.

@chandrikadeb7
Last active March 23, 2024 16:02
Show Gist options
  • Save chandrikadeb7/e17b07ffb0f5ee35788f26226470ad10 to your computer and use it in GitHub Desktop.
Save chandrikadeb7/e17b07ffb0f5ee35788f26226470ad10 to your computer and use it in GitHub Desktop.
Scrape App Store reviews of any Apple Store application
from app_store_scraper import AppStore
import pandas as pd
import numpy as np
import json
app = AppStore(country='in', app_name='_app_name_', app_id = '_app_id_')
app.review(how_many=5000)
df = pd.DataFrame(np.array(app.reviews),columns=['review'])
df2 = df.join(pd.DataFrame(df.pop('review').tolist()))
df2.head()
df2.to_csv('_File path to save destination file_')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment