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
Built Distribution
File details
Details for the file app_store_scrapr-0.1.0.tar.gz
.
File metadata
- Download URL: app_store_scrapr-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd04b8fd58afe72701e3aec661bb1b3da630666b0155f60b73f5a049aaac6e21 |
|
MD5 | 3c29cdea0cf6323918226e4061140333 |
|
BLAKE2b-256 | f4dcd7be73e49bfffdd1f8c09863075245c09582b472c30b7d746ec8161a3b75 |
File details
Details for the file app_store_scrapr-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: app_store_scrapr-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcfb3f3029e767c6d167470bfa795337ad6c7338bf462bd59cf943595d426f47 |
|
MD5 | 4c3fc6a1ed659e7bf61fedd0eb0e0c78 |
|
BLAKE2b-256 | 58e675e281f6e00155d619ac0ca996d304a214cbeaf1453ab067550194198df4 |