Install as NuGet package
Install-Package GooglePlayStoreApi
.NET CLI
dotnet add package GooglePlayStoreApi
Get auth_token
from this URL
var email = "abc@gmail.com";
var androidId = ""; // use your real GSF ID(Google Service Framework ID)
var token = "oauth2_4/...";
var client = new GooglePlayStoreClient(email, androidId);
token = await client.GetGoogleToken(token);
await client.GetGoogleAuth(token);
var searchResult = await client.Search("gmail");
foreach (var appDetail in searchResult.PreFetch[0].Response.Payload.ListResponse.Item[0].SubItem.Select(x => x.SubItem[0]))
{
var appId = appDetail.Id;
var appName = appDetail.Title;
Console.WriteLine($"{appId},{appName}");
}
var email = "abc@gmail.com";
var androidId = ""; // use your real GSF ID(Google Service Framework ID)
var token = "oauth2_4/...";
var gmailPackageName = "com.google.android.gm";
var client = new GooglePlayStoreClient(email, androidId);
token = await client.GetGoogleToken(token);
await client.GetGoogleAuth(token);
var appDetail = await client.AppDetail(gmailPackageName);
var appName = appDetail.Item.Title;
var descriptionHtml = appDetail.Item.DescriptionHtml;
var versionCode = appDetail.Item.Details.AppDetails.VersionCode;
var versionString = appDetail.Item.Details.AppDetails.VersionString;
var permissions = appDetail.Item.Details.AppDetails.Permission;
var offerType = appDetail.Item.Offer[0].OfferType;
var email = "abc@gmail.com";
var androidId = ""; // use your real GSF ID(Google Service Framework ID)
var token = "oauth2_4/...";
var gmailPackageName = "com.google.android.gm";
var client = new GooglePlayStoreClient(email, androidId);
token = await client.GetGoogleToken(token);
await client.GetGoogleAuth(token);
var appDetail = await GetAppDetail(client, gmailPackageName);
var versionCode = appDetail.Item.Details.AppDetails.VersionCode;
var offerType = appDetail.Item.Offer[0].OfferType;
await client.Purchase(gmailPackageName, offerType, versionCode);
var bytes = await client.DownloadApk(gmailPackageName);
File.WriteAllBytes("Gmail.apk", bytes);
var token = "oauth2_4/...";
token = await client.GetGoogleToken(token);
// save token to "token.txt"
File.WriteAllText("token.txt", token);
await client.GetGoogleAuth(token);
// load token from "token.txt"
var token = File.ReadAllText("token.txt");
await client.GetGoogleAuth(token);
- https://gitlab.com/AuroraOSS/AuroraStore
- https://github.com/microg/android_packages_apps_GmsCore
- https://github.com/NoMore201/googleplay-api
- https://github.com/MCMrARM/Google-Play-API
- https://github.com/dweinstein/node-google-play
- https://github.com/Ksauder/googleplay-api
- https://github.com/onyxbits/raccoon4
- https://github.com/kiwiz/gkeepapi
- https://github.com/onyxbits/dummydroid
- https://github.com/ClaudiuGeorgiu/PlaystoreDownloader
- https://github.com/yeriomin/token-dispenser
- https://github.com/yeriomin/play-store-api
- https://github.com/whyorean/playstore-api-v2
- https://github.com/simon-weber/gpsoauth
- https://github.com/vemacs/GPSOAuthSharp
- https://github.com/bryanmytko/gpsoauth
- https://github.com/svarzee/gpsoauth-java
- https://github.com/dvirtz/gpsoauth-cpp
- https://github.com/Iciclelz/gpsoauthclient