-
Notifications
You must be signed in to change notification settings - Fork 77
DownloadCount and DownloadCountText #12
Comments
This project doesn't support the Google Play extended app properties yet. There's a newer .proto file available at https://github.com/egirault/googleplay-api - I'll try to port it to PHP myself. |
OK, here's my progress so far:
I'll try to find some other (newer) protoc-gen-php branch on github now and get back to you. In any case I'll post my sources here soon. |
Trying now with https://github.com/drslump/Protobuf-PHP OK, here we go - put these 3 files in the same directory:
Then get library/DrSlump from https://github.com/drslump/Protobuf-PHP and put it together with them (PHP 5.3+ required!) One more little fix is needed before you visit index.php: open DrSlump/Protobuf/Codec/Binary.php and put "return null;" before "throw new \RuntimeException('Group is deprecated and not supported');" DISCLAIMER: This code is ALPHA at best, also the PHP code style is terrible, I just put everything together from different sources and would like to go to bed now :) Here's a little screenshot of the end result: http://shrani.si/f/2g/3G/QM0v2De/result.png |
This sounds like a really interesting update, got any more test results @markostamcar? We do have a pull request for new proto that might be solving the same issue, #17, does that look similar? |
Nope, seems the updates are just for "GetAssetRequest/Response". The .proto used above is completely different as it is for the Google Play app store which introduced a lot of new properties. Yours is querying the now-legacy Android Market API used on 1.6-2.1 devices. |
Hi @markostamcar - I have made some changes to the proto buffer and the api version headers were sending 1-2 days ago. If you could clean up or assit, i could test and merge your pull request. |
Any luck @markostamcar |
Yes, with https://github.com/egirault/googleplay-api ;) |
DownloadCount always return 0 DownloadCountText always return ">250.000"
Is there a way to show 1 million-5 million is above 250.000?
#2
setEntriesCount >10 cause an error? max items are 10?
Thanks,
Leslie
The text was updated successfully, but these errors were encountered: