Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# GPlayAPI
Google Play Store Protobuf API wrapper in Kotlin
## Build
git clone https://gitlab.com/AuroraOSS/gplayapi.git
gradlew :assemble
gradlew :build
## Work Flow
1. Obtain AASToken from (Email,Password) pair.
2. Obtain AuthData from (Email,AASToken) pair.
3. Use AuthData to access data.
## Usage
### AASToken
Use one of the following tools
* [Authenticator](https://github.com/whyorean/Authenticator)
* [AASTokenGrabber](https://github.com/whyorean/AASTokenGrabber)
### AuthData
val authData = AuthHelper.build(email,aastoken)
### Fetch App Details
val app = AppDetailsHelper
.with(authData)
.getAppByPackageName(packageName)
### Fetch Bulk App Details (Max 20)
val appList = AppDetailsHelper
.with(authData)
.getAppByPackageName(packageNameList)
### Fetch APKs/OBBs/Patches
val files = PurchaseHelper
.with(authData)
.purchase(app.packageName,app.versionCode,app.offerType)
### Fetch All Categories
val categoryList = CategoryHelper
.with(authData)
.getAllCategoriesList(type) //type = GAME or APPLICATION
### Fetch Search Suggestions
val entries = SearchHelper
.with(authData)
.searchSuggestions(query)
### Search Apps & Games
var helper = SearchHelper.with(authData)
var appList = helper.searchResults(query, null)
while (helper.hasNext()) {
appList = helper.next()
}