Expand description
a rust crate for the google play api
to get started, get an oauth token, you one by logging in into the embedded setup page, opening the dev tools and then checking the network tab / application tab for the returned cookie. the token can only be used once, and the resulting aas token doesn’t seem to expire
after getting the oauth token, you can convert it with the crate by running it as a binary like so:
OAUTH_TOKEN="..." EMAIL="..." cargo run --features binaryor alternatively, convert it manually using OAuthRequest
after you get an aas token, parse your device props using PropsMap::parse_aurora_config
then construct a LongLivedClient using LongLivedClient::login to start sending requests
if instead you already have an auth token that was generated from an aas token somewhere else,
use ShortLivedClient::login, keeping in mind that auth tokens expire much faster than aas
tokens and that this client can’t renew them on its own
both of them implement the Client trait, which holds every method, so it needs to be
in scope to send requests
Modules§
Structs§
- Auth
Token Request - a requester for converting aas tokens into auth tokens
- Category
- a category
- CdnUrl
- a url for a specific file, with a filename and a sha1 hash
- Device
Properties - the properties for a singular device
- Download
Response - response for an app, contains the base apk and any additional splits and obbs
- Long
Lived Client - a logged in google play client that owns an aas token
- Next
Reviews Page - unique identifier for a next reviews page
- Next
Search Page - unique identifier for a next search page
- OAuth
Request - a requester for converting oauth tokens into usable aas tokens
- Props
Map - a map of parsed aurora store style device properties, each key being the device name “default” may be used by the generic no header name ini section
- Reviews
Results - review results for an app, optionally containing an identifier for the next page
- Search
Results - search results for a query, optionally containing an identifier for the next page
- Short
Lived Client - a logged in google play client that only owns an auth token, one that was generated from an aas token outside of this crate
Enums§
- Category
Type - a category type for apps
- Reviews
Filter - filter for reviews
Traits§
- Client
- every request a logged in google play client can send