🚀 langchain-playstore
LangChain retrievers for the Google Play Store — fetch app details and retrieve user reviews as LangChain Document objects. No API keys required.
Perfect for building RAG applications that can analyze app store feedback, monitor sentiment, or scrape competitor features.
✨ Features
| Retriever | What it does | API Key Required? |
|---|---|---|
PlayStoreAppRetriever |
Fetch full metadata/details of an app | ❌ No! |
PlayStoreReviewsRetriever |
Fetch user reviews for an app | ❌ No! |
📦 Installation
pip install langchain-playstore
🚀 Quick Start
Fetch App Details
from langchain_playstore import PlayStoreAppRetriever
retriever = PlayStoreAppRetriever(
lang="en", # Default is "en"
country="us" # Default is "us"
)
# You can pass the app package ID or a full Play Store URL
docs = retriever.invoke("com.google.android.youtube")
app_metadata = docs[0].metadata
print(f"Name: {app_metadata['title']}")
print(f"Developer: {app_metadata['developer']}")
print(f"Score: {app_metadata['score']} / 5.0")
print(f"Installs: {app_metadata['installs']}")
Fetch App Reviews
from langchain_playstore import PlayStoreReviewsRetriever
retriever = PlayStoreReviewsRetriever(
lang="en",
country="us",
max_results=5,
sort="helpfulness", # "helpfulness", "newest", "rating"
)
docs = retriever.invoke("https://play.google.com/store/apps/details?id=com.whatsapp")
for doc in docs:
print(f"⭐ {doc.metadata['score']} / 5")
print(f"💬 {doc.page_content}")
print(f"👍 {doc.metadata['thumbs_up']} upvotes\n")
📄 License
MIT — see LICENSE for details.
Metadata
Release files for langchain-playstore 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_playstore-0.1.0.tar.gz | 5.3 kB | Without provenance | Details for langchain_playstore-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_playstore-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_playstore-0.1.0-py3-none-any.whl |
Total release size: 11.7 kB
Release files / langchain_playstore-0.1.0.tar.gz
| Download URL | langchain_playstore-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d68cc22e4a722f8e029394c9620db30333dce9012565194971dd32d010a0570a
|
|
BLAKE2b-256 checksum How to use checksums |
cc53fa69915f2b52ec46006cfb1c88dcbb0877b3a2edbbc054f4232a32220ae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / langchain_playstore-0.1.0-py3-none-any.whl
| Download URL | langchain_playstore-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b62e3a91fac739c057a35e9c8b21feab1e1c8445c0c220c6038c5e91c1e66da
|
|
BLAKE2b-256 checksum How to use checksums |
1d6e54c9bd697b10b79b4fb1c840a6ad0d0766d8d8a09704d5222457765077ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for langchain-playstore 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.