Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mxrch
GitHub Repository: mxrch/GHunt
Path: blob/master/ghunt/helpers/playstore.py
252 views
1
import httpx
2
3
4
async def app_exists(as_client: httpx.AsyncClient, package: str) -> bool:
5
params = {
6
"id": package
7
}
8
req = await as_client.head(f"https://play.google.com/store/apps/details", params=params)
9
return req.status_code == 200
10
11