No project description provided
Project description
app-store-scrapr
app-store-scrapr
is a Python library for scraping reviews from the Apple App Store. It provides an easy-to-use interface to gather reviews for iOS apps.
Features
- Get Specific Page Reviews: Retrieve reviews from a specific page for an app.
- Get All Reviews: Conveniently fetch reviews from all available pages (up to 10 pages).
Requirements
- Python 3.8 or higher
Installation
Install app-store-scrapr
using pip:
pip install app-store-scrapr
Usage
Getting Reviews from a Specific Page
To get reviews from a specific page for an app, use the reviews
method:
from app_store_scrapr.reviews import reviews
# Parameters:
# app_id (str): The app's unique identifier.
# country (str, optional): The country code (default is 'us').
# page (int, optional): The page number to retrieve (default is 1).
# sort (str, optional): The sort order, 'mostRecent' or 'mostHelpful' (default is 'mostRecent').
app_reviews = reviews(app_id='123456789', country='us', page=3, sort='mostRecent')
print(app_reviews)
Getting All Reviews
To get all reviews (up to 10 pages) for an app, use the reviews_all
method:
from app_store_scrapr.reviews import reviews_all
# Parameters:
# app_id (str): The app's unique identifier.
# country (str, optional): The country code (default is 'us').
# sort (str, optional): The sort order, 'mostRecent' or 'mostHelpful' (default is 'mostRecent').
all_reviews = reviews_all(app_id='123456789', country='us', sort='mostRecent')
print(all_reviews)
Contributing
Contributions to app-store-scrapr
are welcome! If you have an idea or suggestion, please:
- Open an issue to discuss what you would like to change or add.
- Once the proposal is discussed and approved, you can fork the repository and create a pull request.
License
app-store-scrapr
is MIT licensed. See the LICENSE file for more details.
Project details
Release history Release notifications | RSS feed
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_scrapr-0.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for app_store_scrapr-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcfb3f3029e767c6d167470bfa795337ad6c7338bf462bd59cf943595d426f47 |
|
MD5 | 4c3fc6a1ed659e7bf61fedd0eb0e0c78 |
|
BLAKE2b-256 | 58e675e281f6e00155d619ac0ca996d304a214cbeaf1453ab067550194198df4 |