Skip to main content

AI-powered app store reviews analysis tool

Project description

📱 app-store-review-etl

PyPI - Downloads PyPI - License

app-store-review-etl is a Python app to fetch app reviews, generate review analysis and provide report with a Google Sheet.

This app leverages Google Gemini AI model to summarize top liked and disliked features, using VADER, WordCloud and matplotlib library for sentiment analysis and data visualization.

Get your API keys 🔑 ready, then you could analyze app reviews 📊 easily.

Description

As a python programmer with product management and marketing work experience in the past, I am fascinated by automation tools ⚙️ that facilitate work efficiency 🚀 and drive better customer experience 😃.

In 2024, AI productivity tool is not a dream anymore. Both OpenAI and Google provide LLM models for developers to build AI products.

Thus, the highlight of this app is that I used Google Gemini model to generate AI-wise app review analysis. Besides, I chose Google Sheet as a database for flexibility and scalability, then you could use the output Google Sheet as data source for further data visualization with Looker or Tableau.

Features

  • 💾 Fetch App Reviews
  • 💛 Sentiment Analysis
  • 🧠 AI-wise Top Liked and Disliked Analysis with Google Gemini Model
  • ☁️ WordCloud and Distribution Data Graphs
  • 🗂️ Get all the data and analysis in one place - Google Sheet

Example & Result

Output Google Sheet Demo Link : https://docs.google.com/spreadsheets/d/1fp0-D0fspQ4W8nTSor8Oa_WFtEG1kD31JLGzABUJGdo/edit?usp=sharing

Screenshots of the output Google Sheet provide app reviews analysis from app YouTube: Watch, Listen, Stream.

resultImage

Quickstart

Using the command line interface

  1. Clone this repo from GitHub to your local directory

    git clone https://github.com/whygreedy/app-store-review-etl.git
    
  2. Change directory to the repo folder just downloaded

    cd app-store-review-etl
    
  3. Create a new project on Google Developers Console. Enable Google Drive API and Google Sheets API, and set up OAuth consent screen.

  4. Add credentials_gspread.json file that includes your OAuth Client Credential to the repo folder

  5. Add .env file that includes your Google Gemini API key and the filepath to OAuth Client Credential to the repo folder

    # your .env file
    CREDENTIALS_GSPREAD_FILE_PATH='../credentials_gspread.json'
    GEMINI_API_KEY=<your Gemini API Key>
    
  6. Create venv

    virtualenv venv
    
  7. Activate venv

    source venv/bin/activate
    
  8. Install dependencies

    pip install -r requirements.txt
    
  9. Change directory to the folder that includes main.py file

    cd app_store_review_etl
    
  10. Execute main.py file

    python3 main.py -c <app_country> -n <app_name> -d <date_after> -m <ai_model>
    

    By default, we fetch YouTube app store reviews posted after 2024/1/1 ,and using Gemini 1.0 pro model. You could adjust arguments at your needs.

    For example, you could fetch UberEats app store reviews posted after 2023/12/1 by the following command.

    python3 main.py -n uber-eats-food-delivery -d 2023-12-1
    

Using app-store-review-etl in a Python script

  1. Create venv

    virtualenv venv
    
  2. Activate venv

    source venv/bin/activate
    
  3. Install from PyPI with pip

    pip install app-store-review-etl
    
  4. Create a new project on Google Developers Console. Enable Google Drive API and Google Sheets API, and set up OAuth consent screen.

  5. Add credentials_gspread.json file that includes your OAuth Client Credential

  6. Add .env file that includes your Google Gemini API key and the filepath to OAuth Client Credential

    # your .env file
    CREDENTIALS_GSPREAD_FILE_PATH='../credentials_gspread.json'
    GEMINI_API_KEY=<your Gemini API Key>
    
  7. Import the package and execute it with a Python Script

    # your Python script
    from app_store_review_etl import main
    
    main.main()
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

app_store_review_etl-0.1.1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

app_store_review_etl-0.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file app_store_review_etl-0.1.1.tar.gz.

File metadata

  • Download URL: app_store_review_etl-0.1.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for app_store_review_etl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6a90244ece055d337bf4e58bc9aabad600f5da7df78776461907f0cc299dc8e1
MD5 6b5416ed143d118a4eb366ca596071cb
BLAKE2b-256 d09875a7b70955a2be3ba00bc3c90ccb597cb8fce6a9fc82a302d932d7f33c2e

See more details on using hashes here.

File details

Details for the file app_store_review_etl-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for app_store_review_etl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21efd20b50746afeb978b366b77e4365274a03ce2b8ce9f4ec17b5f8c9a2571e
MD5 b9411f6b43a3b92e616681af224d94ea
BLAKE2b-256 0c9143c5d514b1046f5d66404e1e1e1c7fea11f34d9e46a9a2e45256e8160164

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page