No description
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mv4cZ2vcfvJmnth7GBY2Cm |
||
|---|---|---|
| gradle | ||
| lib | ||
| LICENSES | ||
| sampleapp | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| build.gradle.kts | ||
| CHANGELOG | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| jitpack.yml | ||
| README.md | ||
| REUSE.toml | ||
| settings.gradle.kts | ||
GPlayAPI
Google Play Store Protobuf API wrapper in Kotlin
For Educational & Research purpose only
Disclaimer
I'm not resposible for anything that may go wrong with:
- You
- Your Google Account.
- Socio-economic Life, especially the nudes.
- Girlfriend.
- Crypto Wallet.
Hold your own beer!
Download
GPlayAPI is available on the mavencentral.
implementation("com.aurora:gplayapi:3.5.2")
You can get unsigned release builds for testing latest changes from our GitLab Package Registry. Jitpack is also available but not recommended due to unforeseen sync errors.
Build
To build the library locally, run the following commands:
git clone https://gitlab.com/AuroraOSS/gplayapi.git && cd gplayapi
./gradlew publishReleasePublicationToLocalRepository
This will generate an unsigned release build
(AAR) in the
lib/build/repo directory.
Work Flow
- Obtain AASToken from (Email, Password) pair.
- Obtain AuthData from (Email, AASToken) pair.
- Use AuthData to access data.
AASToken
Use one of the following tools
Usage
You need to build an instance of AuthData to call any method related with the API. Building an
instance requires Email and AASToken fetched from the above-mentioned workflow.
AuthData
val authData = AuthHelper.build(email, aastoken)
Fetch App Details
val app = AppDetailsHelper(authData).getAppByPackageName(packageName)
Fetch Bulk App Details
val appList = AppDetailsHelper.getAppByPackageName(packageNameList)
Fetch APKs/OBBs/Patches
val files = PurchaseHelper(authData).purchase(
app.packageName,
app.versionCode,
app.offerType
)
Fetch All Categories
val categoryList = CategoryHelper(authData).getAllCategories(type) //type = GAME or APPLICATION
Fetch Search Suggestions
val entries = SearchHelper(authData).searchSuggestions(query)
Search Apps & Games
var helper = SearchHelper(authData)
var searchBundle = helper.searchResults(query)
var appList = searchBundle.appList
// To fetch next list
appList = helper.next(searchBundle.subBundles)
App Reviews
var helper = ReviewsHelper(authData)
var reviewCluster = helper.getReviews(packageName, filter) //filter = ALL, POSITIVE, CRITICAL
// To fetch next list
reviewCluster = helper.next(reviewCluster.nextPageUrl)
User Reviews
var helper = ReviewsHelper(authData)
//Submit or Edit review
val review = helper.addOrEditReview(packageName, title, content, rating, isBeta)
//Retrive review
val review = helper.getUserReview(packageName, isBeta)