Skip to content

Instantly share code, notes, and snippets.

@OutRite
Created September 26, 2025 10:05
Show Gist options
  • Select an option

  • Save OutRite/399ea5cd71140a5c120f7ac517cfd229 to your computer and use it in GitHub Desktop.

Select an option

Save OutRite/399ea5cd71140a5c120f7ac517cfd229 to your computer and use it in GitHub Desktop.
gplay build f.req for batchexecute app dl count
import urllib.parse
import json
package_name = "com.google.android.gms"
response_filter = [14] # 14 contains the download count data. we don't care about anything else so we're only filtering for that
dl_rpc_name = "Ws7gDc" # this is the specific RPC that contains the download count info
dl_rpc_body = [None, None, [response_filter], None, None, [[package_name, 7]]]
final_built_rpc = [[[dl_rpc_name, json.dumps(dl_rpc_body), None, '9']]]
built_rpc_text = urllib.parse.quote(json.dumps(final_built_rpc))
final_payload = f"f.req={built_rpc_text}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment