Skip to content

GPlay Scraper is a powerful Python Google Play scraper library for extracting comprehensive app data from the Google Play Store. Scrape Google Play Store apps to get ratings, install counts, reviews, ASO metrics, developer information, and 65+ data fields

License

Notifications You must be signed in to change notification settings

Mohammedcha/gplay-scraper

Google Play Scraper - Python Library πŸ“±

PyPI version Python License: MIT Downloads GitHub stars GitHub issues

GPlay Scraper

GPlay Scraper is a powerful Python library for extracting comprehensive data from the Google Play Store. Built for developers, data analysts, and researchers, it provides easy access to app information, user reviews, search results, top charts, and market intelligenceβ€”all without requiring API keys.

🎯 What Can You Scrape?

App Data (65+ Fields)

  • Basic info: title, developer, description, category, genre
  • Ratings & reviews: score, ratings count, histogram, user reviews
  • Install metrics: install count ranges, download statistics
  • Pricing: free/paid status, price, in-app purchases, currency
  • Media: icon, screenshots, video, header image URLs
  • Technical: version, size, Android version, release date, last update
  • Content: age rating, privacy policy, developer contact info
  • Features: permissions, what's new, developer website

Search & Discovery

  • Search apps by keyword with filtering and pagination
  • Get search suggestions and autocomplete terms
  • Find similar/competitor apps for any app
  • Access top charts (free, paid, grossing) across 54 categories

Developer Intelligence

  • Get complete app portfolio for any developer
  • Track developer's app performance and ratings
  • Analyze developer's market presence

User Reviews

  • Extract reviews with ratings, text, and timestamps
  • Get reviewer names and helpful vote counts
  • Filter by newest, most relevant, or highest rated
  • Track app versions mentioned in reviews

Market Research

  • Multi-language support (100+ languages)
  • Multi-region data (150+ countries)
  • Localized pricing and availability
  • Competitive analysis and benchmarking

πŸ†• What's New in v1.0.5

βœ… Publisher Country Detection:

  • Automatic Country Detection - Detects developer's country from phone number and address
  • International Phone Prefixes - Uses phone number prefixes to identify countries
  • Address Parsing - Analyzes developer addresses for country information
  • Multi-Country Support - Handles cases where phone and address differ (e.g., "United States/Germany")
  • Enhanced Developer Intelligence - Adds publisherCountry field to app data

βœ… Enhanced Error Handling:

  • Better HTTP Client Fallback - Improved reliability when requests fail
  • Robust JSON Parsing - Multiple fallback strategies for malformed responses
  • Network Timeout Handling - Better handling of connection errors
  • Automatic Retry Logic - Exponential backoff for rate limiting
  • Error Recovery - Better recovery from temporary network issues

βœ… Removed Features:

  • Removed updatedTimestamp - Removed deprecated timestamp field that was causing confusion

βœ… 7 Method Types:

  • App Methods - Extract 65+ data fields from any app (ratings, installs, pricing, permissions, etc.)
  • Search Methods - Search Google Play Store apps with comprehensive filtering
  • Reviews Methods - Extract user reviews with ratings, timestamps, and detailed feedback
  • Developer Methods - Get all apps published by a specific developer
  • List Methods - Access top charts (top free, top paid, top grossing) by category
  • Similar Methods - Find similar/competitor apps for market research
  • Suggest Methods - Get search suggestions and autocomplete for ASO

⚑ Key Features

Powerful & Flexible

  • 7 HTTP clients with automatic fallback - requests, curl_cffi, tls_client, httpx, urllib3, cloudscraper, aiohttp
  • 42 functions across 7 method types - analyze(), get_field(), get_fields(), print_field(), print_fields(), print_all()
  • No API keys required - Direct scraping from Google Play Store
  • Multi-language & multi-region - 100+ languages, 150+ countries

Reliable & Safe

  • Built-in rate limiting - Prevents blocking with automatic delays
  • Automatic HTTP client fallback - Ensures maximum reliability
  • Error handling - Graceful failures with informative messages
  • Retry logic - Automatic retries for failed requests

Developer Friendly

  • Simple API - Intuitive method names and parameters
  • Comprehensive documentation - Examples for every use case
  • Type hints - Full IDE autocomplete support
  • Flexible output - Get data as dict/list or print as JSON

πŸ“‹ Requirements

  • Python 3.7+
  • requests (default HTTP client)
  • Optional: curl-cffi, tls-client, httpx, urllib3, cloudscraper, aiohttp (for advanced HTTP clients)

πŸš€ Installation

# Install from PyPI
pip install gplay-scraper

# Or install in development mode
pip install -e .

πŸ“– Quick Start

from gplay_scraper import GPlayScraper

# Initialize with HTTP client (curl_cffi recommended for best performance)
scraper = GPlayScraper(http_client="curl_cffi")

# Get app details with different image sizes
app_id = "com.whatsapp"
scraper.app_print_all(app_id, lang="en", country="us", assets="LARGE")

# Get high-quality app data
data = scraper.app_analyze(app_id, assets="ORIGINAL")  # Maximum image quality
icon_small = scraper.app_get_field(app_id, "icon", assets="SMALL")  # 512px icon

# Print specific fields with custom image sizes
scraper.app_print_field(app_id, "icon", assets="LARGE")  # Print large icon URL
scraper.app_print_fields(app_id, ["icon", "screenshots"], assets="ORIGINAL")  # Print multiple fields

# Search for apps
scraper.search_print_all("social media", count=10, lang="en", country="us")

# Get reviews
scraper.reviews_print_all(app_id, count=50, sort="NEWEST", lang="en", country="us")

# Get developer apps
scraper.developer_print_all("5700313618786177705", count=20, lang="en", country="us")

# Get top charts
scraper.list_print_all("TOP_FREE", "GAME", count=20, lang="en", country="us")

# Get similar apps
scraper.similar_print_all(app_id, count=30, lang="en", country="us")

# Get search suggestions
scraper.suggest_print_all("fitness", count=5, lang="en", country="us")

🎯 7 Method Types

GPlay Scraper provides 7 method types with 42 functions to interact with Google Play Store data:

1. App Methods - Extract app details (65+ fields)

2. Search Methods - Search for apps by keyword

3. Reviews Methods - Get user reviews and ratings

4. Developer Methods - Get all apps from a developer

5. List Methods - Get top charts (free, paid, grossing)

6. Similar Methods - Find similar/related apps

7. Suggest Methods - Get search suggestions/autocomplete

Each method type has 6 functions:

  • analyze() - Get all data as dictionary/list
  • get_field() - Get single field value
  • get_fields() - Get multiple fields
  • print_field() - Print single field to console
  • print_fields() - Print multiple fields to console
  • print_all() - Print all data as JSON

🎯 Method Examples

1. App Methods - Get App Details

Extract comprehensive information about any app including ratings, installs, pricing, and 65+ data fields.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print all app data as JSON
scraper.app_print_all("com.whatsapp", lang="en", country="us")

What you get: Complete app profile with title, developer, ratings, install counts, pricing, screenshots, permissions, and more.

πŸ“„ View JSON example β†’


2. Search Methods - Find Apps by Keyword

Search the Play Store by keyword, app name, or category to discover apps.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print all search results as JSON
scraper.search_print_all("fitness tracker", count=20, lang="en", country="us")

What you get: List of apps matching your search with titles, developers, ratings, prices, and Play Store URLs.

πŸ“„ View JSON example β†’


3. Reviews Methods - Extract User Reviews

Get user reviews with ratings, comments, timestamps, and helpful votes for sentiment analysis.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print all reviews as JSON
scraper.reviews_print_all("com.whatsapp", count=100, sort="NEWEST", lang="en", country="us")

What you get: User reviews with names, ratings (1-5 stars), review text, timestamps, app versions, and helpful vote counts.

πŸ“„ View JSON example β†’


4. Developer Methods - Get Developer's Apps

Retrieve all apps published by a specific developer using their developer ID.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print all developer apps as JSON
scraper.developer_print_all("5700313618786177705", count=50, lang="en", country="us")

What you get: Complete portfolio of apps from a developer with titles, ratings, prices, and descriptions.

πŸ“„ View JSON example β†’


5. List Methods - Get Top Charts

Access Play Store top charts including top free, top paid, and top grossing apps by category.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print top free games as JSON
scraper.list_print_all("TOP_FREE", "GAME", count=50, lang="en", country="us")

What you get: Top-ranked apps with titles, developers, ratings, install counts, prices, and screenshots.

πŸ“„ View JSON example β†’


6. Similar Methods - Find Related Apps

Discover apps similar to a reference app for competitive analysis and market research.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print similar apps as JSON
scraper.similar_print_all("com.whatsapp", count=30, lang="en", country="us")

What you get: List of similar/competitor apps with titles, developers, ratings, and pricing information.

πŸ“„ View JSON example β†’


7. Suggest Methods - Get Search Suggestions

Get autocomplete suggestions and keyword ideas for ASO and market research.

πŸ“– View detailed documentation β†’

from gplay_scraper import GPlayScraper

scraper = GPlayScraper(http_client="curl_cffi")

# Print search suggestions as JSON
scraper.suggest_print_all("photo editor", count=10, lang="en", country="us")

What you get: List of popular search terms related to your keyword for ASO and keyword research.

πŸ“„ View JSON example β†’


🀝 Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License.


Happy Analyzing! πŸš€

About

GPlay Scraper is a powerful Python Google Play scraper library for extracting comprehensive app data from the Google Play Store. Scrape Google Play Store apps to get ratings, install counts, reviews, ASO metrics, developer information, and 65+ data fields

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Languages