1
0
Fork 0
mirror of synced 2026-12-06 18:42:25 +00:00
No description
Find a file
2026-11-28 22:26:52 -05:00
gradle JVM support 2025-05-18 01:10:03 -04:00
lib JVM support 2025-05-18 01:10:03 -04:00
LICENSES {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
sampleapp gplayapi: Add configs for 9a and 9 fold 2025-05-05 23:51:50 +08:00
.gitattributes .gitattributes: Mark upstream's sources as vendored 2026-11-28 22:26:52 -05:00
.gitignore {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
.gitlab-ci.yml {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
build.gradle.kts JVM support 2025-05-18 01:10:03 -04:00
CHANGELOG 3.5.2 2025-05-15 17:34:51 +08:00
gradle.properties {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
gradlew libs: Bump to latest stable AGP, Gradle and dependencies 2025-04-27 14:29:30 +08:00
gradlew.bat libs: Bump to latest stable AGP, Gradle and dependencies 2025-04-27 14:29:30 +08:00
jitpack.yml {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
README.md 3.5.2 2025-05-15 17:34:51 +08:00
REUSE.toml {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00
settings.gradle.kts {gradle|.}: Make it REUSE compliant 2024-12-02 13:21:56 +08:00

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:

  1. You
  2. Your Google Account.
  3. Socio-economic Life, especially the nudes.
  4. Girlfriend.
  5. 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

  1. Obtain AASToken from (Email, Password) pair.
  2. Obtain AuthData from (Email, AASToken) pair.
  3. 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)

Credits

  1. googleplay-api
  2. google-play-crawler
  3. play-store-api
  4. raccon4