yeriomin / play-store-api Goto Github PK
View Code? Open in Web Editor NEWGoogle Play Store protobuf API wrapper in java
License: GNU General Public License v3.0
Google Play Store protobuf API wrapper in java
License: GNU General Public License v3.0
For example, how to use it in command line to get an app detail or download the apk? Thanks.
Hi,
I'm very thankful for your library. It work very well. But, I'm using the latest version (0.26) and it have a little issue. When I request detail of multiple package name with bulkDetails then I get versionString of each but nothing to return.
Please fix it. I waiting for new version. Thank you!
Hi
BulkDetailsResponse is success, but empty.
packageNames size = 324
I/DebugHttpClientAdapter: Requesting https://android.clients.google.com/fdfe/bulkDetails
I/DebugHttpClientAdapter: HTTP result code 200result = {BulkDetailsResponse@5331}
entry_ = {ProtobufArrayList@5334} size = 0
memoizedSerializedSize = -1
unknownFields = {UnknownFieldSetLite@5335}
memoizedHashCode = 0
shadow$klass = {Class@5332} ""
shadow$monitor = -2050010224
Other APIs like search and details are working.
Did you notice this one? Do you think there is may be a throttle?
I have tried with following code, the result always be 0.
DetailsResponse response = null;
response = api.details("org.amalgam.laboratory");
AppDetails detail = response.getDocV2().getDetails().getAppDetails();
System.out.println(detail.getContentRating());
Thanks a lot!
HttpClientAdapterImplementation not found, can you show me this class
The response body content:
Error=BadAuthentication
I'm trying to use recommendations
method, copying its usage from
api.recommendations("com.cpuid.cpu_z", RECOMMENDATION_TYPE.ALSO_VIEWED, 0, 20)
I get "bad request" error:
since a few weeks, the DocV2 has no valid versionStringName anymore.
hi,
I found this OkHttpClientAdaptor is package private. would it be better to have a default one?
The commit that fixes apps updatrs broke the categories so we can't sort the apps by their category
Recently purchase request stopped working.
The buyResponse.purchaseStatusResponse.appDeliveryData contains empty downloadUrl and downloadAuthCookie. (purchaseResponse.status is zero)
Details request still works - I get the version code etc.
I tried several google accounts (including one from real device and gsfid).
This worked for me before and stopped working few days ago.
Can you please verify this?
Thanks!
Until a few days ago saleEndTimestamp
returned a timestamp when the sale ended. Now it only returns 0.
request:
url=https://android.clients.google.com/auth
response:
Error=CaptchaRequired
CaptchaToken=AAWk9lRPb7tCAA75-UL8ZWxsg4Gwn5URKLcEP3rsXEyh7SIY1ZXRftMPzHTy6Iz2JLYpFLiHb60bdH0jycqA1wLCKB3d4kR_O9NhRf7t1oL1k4ncyVqybj4qx26UAQzTT19UTI7PEsM449Vp3bX3Hz9C73jUAU4PEJmWHMUwTADHbyRm38HYKdc
CaptchaUrl=https://accounts.google.com/Captcha?ctoken=AAWk9lRPb7tCAA75-UL8ZWxsg4Gwn5URKLcEP3rsXEyh7SIY1ZXRftMPzHTy6Iz2JLYpFLiHb60bdH0jycqA1wLCKB3d4kR_O9NhRf7t1oL1k4ncyVqybj4qx26UAQzTT19UTI7PEsM449Vp3bX3Hz9C73jUAU4PEJmWHMUwTADHbyRm38HYKdc&v=2
SearchIterator retrieve data which is different from playmarket application search. I try to change locales on device-*.properties, api.setLocale(locale), deviceInfoProvider.setLocaleString(locale), try to use proxy and change search settings on account, but I continue getting wrong data from unknown store. How can I specify store location what I need?
First i want to thank you for that amazing project!
Is there a script that can create device properties from a device? (using adb or so)
Or, what are the values i need to read from the device for each entry?
Thanks!
Привет.
В Yalp есть возможность выбрать устройство Samsung Galaxy Tab 10.1
Я пишу с него как раз.
В скобках указано 21 апи.
Наверное это ошибка. У меня tab 10.1(3g версия), андроид 5.0.2, SDK 21.
Исправьте номер sdk пожалуйста.
hi
thank you for this api it is very useful
can you please add a way to get if the app is now free?
some apps goes from paid to free for certain period , is there a way to check if the is free now?
Hi,
how did you devise the device info in src/main/resources/* ?
It is used by other projects now, but is a bit outdated and I'm looking into adding modern devices.
Thankyou
.wrong repo.
i want to add repository to android studio
1)
allprojects { repositories { jcenter() google() maven { url 'https://jitpack.io' } } }
2)
dependencies {
implementation 'com.github.yeriomin:play-store-api:0.42'
}
but when i sync project get following error!!!
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.yeriomin:play-store-api:0.42
Hi,
I want to use this code to download current version apks , but response.hasAppDeliveryData() = false.
Thanks!
dear yeriomin.
i want to know how to show all search result. it is only show about 10 apps and 2 pages for search in store.
I notice that there is no implementation of a HTTPClientAdapter? Documentation is a bit scarce for the interface methods that needs implementation. Any reason a sample is not available?
how can I get it? It's a translated version text of description with given local.
Thanks.
for example i want to login using device with Android 6 is it possible?
i use this with your token dispenser and login, it said that i use "oneplus one" device on my google account activity.
if yes, how to config it?
thanks
the project can't return top new free lists any more and appbrain still provide this information
https://www.appbrain.com/stats/google-play-rankings/top_new_free/art_design/us
so how we can get the top new free list directly from google ?
Hi,
I know GSFID will not expire, because it's used for two years and never changed in our code.
Nevertheless, I found TOKEN is hard-coded in the test.
https://github.com/yeriomin/play-store-api/blob/master/src/test/java/com/github/yeriomin/playstoreapi/GooglePlayAPITest.java#L16
In our code we reset TOKEN for each hour. Would it be necessary?
It seems bulk details request does not work anymore.
When using:
PlayStoreApiBuilder builder = new PlayStoreApiBuilder()
.setHttpClient(new OkHttpClientAdapter())
.setDeviceInfoProvider(deviceInfoProvider)
.setToken(token)
.setGsfId(gsfid);
GooglePlayAPI api = builder.build();
It will throw
com.github.yeriomin.playstoreapi.ApiBuilderException: Either email-password pair or a token dispenser url is required
How can we use token and gsfId directly without needing a token dispenser?
in the delivery response there are 4 download links usually only one rarely 2(.obb file) but this one(com.supercell.brawlstars) has 4.
i installed the apk file but it did not show any launcher icon default android logo shown on install dialog and after installation on home screen.
here is the response
| (
| [payload] => stdClass Object
| (
| [deliveryResponse] => stdClass Object
| (
| [appDeliveryData] => stdClass Object
| (
| [downloadSize] => 78607836
| [sha1] => wdQHxipeSJ249fVEsJ6GK1Qz4Cw
| [downloadUrl] => https://play.googleapis.com/download/by-token/download?token=AOTCm0S5Y8dPSl51LikuIKY-97OCPTwHOKcU5TC5W7nz7dQu87uOchzt0RohlCGM4DKckxTnTXKe4ZU47w73FjGvYysrRo1Ut5RpKAdYr665UpknZz6XofAuqTKqcSdWLLV5Jgy0NRulyN2sHsTMScn5pAJ3Dg0464drqs95RGE7TNsuglDzP1vyZdUa1OupWwsSjxggeeUiAnEWmTVxQ0sAXm7BNkj2mcSckaPV5JzmVYYnHufdK2r1mSPlExi_7XXmrlc0G_uj1wij5QZxI9gC3pzeOJSgqyRYfYhs_1nIGmiRQhZDNKqSME2r46X65eyb_ycp0j3GlO1_uTs_qV8Hl2tWeHo&cpn=1DRTcnxmClYjB_eY
| [downloadAuthCookie] => Array
| (
| [0] => stdClass Object
| (
| [name] => a
| [value] => 42
| )
|
| )
|
| [forwardLocked] =>
| [serverInitiated] => 1
| [split] => Array
| (
| [0] => stdClass Object
| (
| [name] => config.xhdpi
| [size] => 128657
| [sha1] => qj3xxkTYCkcr-BWOBw9YX6ZJb_g
| [downloadUrl] => https://play.googleapis.com/download/by-token/download?token=AOTCm0RUCxD8sWeHeyWPySYjJm2hILanIe2qpWtIoyJX1VMMtlb-W_Hkt0fdQlDu_vHEAX9Su40qLMeW3xckEWcbqV7pLs7z5escZtR5-LSRZim4eZPmCQ_5NoP4_DpdRDNJ1zBnj6bXhwiA-kzjAXADzPDqB18EhxG2o1MtRb8kneoMqm7mzWij5J6-I_64BT7EEUrCDu1EzLIWgOWr_5g0QoZ9V0Rhq90hJ-7XjNyq7FTC9T1vYY3LOpTwtKbEXaI8MXFYpM0OQEnyABH_Cyzh7ESKO2c2G6xVipaEum8n9EwTBgEao4gNZmNdC0zWvnzsMvTWvLmst7j2IXqdjwrwmQd_9EKivU5jaLq9NSc2X1ENeQ&cpn=0Q8bnGQQ2GbwkIWF
| [sha256] => juOdqEZG6gzj7e8gVEf7zUIK0B_cqoOMuOcfMMOIzlA
| )
|
| [1] => stdClass Object
| (
| [name] => config.en
| [size] => 23743
| [sha1] => G4JNLs5ftYu28RU93j_BqPUoroo
| [downloadUrl] => https://play.googleapis.com/download/by-token/download?token=AOTCm0QK1hbrP-4BYuh6d9eBlBlc3J24J7ZHDGf00gzzWo9zYamADJLqhDvC49X2GYuDxCJLJJCBFUzOFVszIFF6dCp6r8GUVWXfSsODChAlOXbHnKHyPuQ8tpjfm2b9zdQvYXJWpcHmnBkxT7d6RaY5lrIDRRqL0jOdjFNG2ftTq8kDKwjR0ykZMR1jYGdnsXblRCk3wKnlyeACJDK6OYcG7WWp8acY9QHQi_TBkngoyGmx7faZV905LCVp6arG2Xgi6oBy4lXO0QcVNWp53doSRgszrtKYcMNa9qJRWPr6fdyAPwafJyAYMZG1GAZ6goe3xSi-NcFwcM_fCV6JfzJzsS7ZSJoKPkIcXTiNjXmn&cpn=5TJt6F3kLyBqWI2V
| [sha256] => ekAHhoMD3O9ZtNKa0ESRyUMxcUX72CHV5tzV5KZ2sJ8
| )
|
| [2] => stdClass Object
| (
| [name] => config.armeabi_v7a
| [size] => 5346538
| [sha1] => QAo98czhkFrobQTbMCc500_v5_8
| [downloadUrl] => https://play.googleapis.com/download/by-token/download?token=AOTCm0T7Hl7U8HiSuVuy3om7ttcEhNdx80sfWHfYpkTPwG0sllQLMSoQNar7CD2umZDkLpI068sRGon-gu3OHOyorVgkwavADHq1DZkFInaXjbYgyB0DNBPLnLjnLKP_ERsLtC3Vl_HmKaTKC8Sz4XsuvTBLZ5nW3i2UttL55w6SBIB9GOTj-ynMFSNOh4P12dq3AxV7T4Fcywj5Beqkc55Vjw8iyWey4fnapX7wawGM6Iv-smPrfBE3rIpprWEpuIwIxpYouRk7NEAGfohTxAiJo9YZUsMGlNK-idfH_6xPbzSAgDCKwG9AhTknBBklBRPnT4xGGodzo7AKHXNkbQhdiT3r8TCDbryV5H0xmWflFR1lMWCOy-wCnbonlg&cpn=bMKSdu9qVXn51WcV
| [sha256] => qqBUiH-mSHBg2DXmf8s4hH6wtV8JuJxz3Ag83ptBMyo
| )
|
| )
|
| [sha256] => nSf7NerF1foHyFFVOLNsxa-hb6DWkXuqvVVGAfFuMns
| )
|
| )
|
| )
|
| [serverMetadata] => stdClass Object
| (
| [latencyMillis] => 100
| )
|
| [serverLogsCookie] => CBKaARcKEwip4tbd1ZbeAhVFOzYKHbxRCn8QAQ==
| )
can you tell me how to assemble the files and make it a working apk file?
How did you build files located at https://github.com/yeriomin/play-store-api/tree/master/src/main/resources?
How do I solve the error "Cannot Resolve Symbol" in Intellij IDEA Studio?
Hi,
sorry if this is not the right place to ask this, but my question is: if an app is downloaded with this API, will it increment the official download number of the app in Google Play store? Or can Google know that it is not a legit download?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.