Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

DownloadCount and DownloadCountText #12

Open
ghost opened this issue Mar 7, 2012 · 8 comments
Open

DownloadCount and DownloadCountText #12

ghost opened this issue Mar 7, 2012 · 8 comments
Assignees

Comments

@ghost
Copy link

ghost commented Mar 7, 2012

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

@markostamcar
Copy link

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.

@markostamcar
Copy link

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.

@markostamcar
Copy link

Trying now with https://github.com/drslump/Protobuf-PHP
Edit: It works much better! I'll post my results soon.

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

@splitfeed
Copy link
Collaborator

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?

@markostamcar
Copy link

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.

@vincentkoc
Copy link
Owner

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.

@ghost ghost assigned vincentkoc Jul 15, 2013
@vincentkoc vincentkoc added this to the Major Candidate 1 milestone Mar 28, 2014
@vincentkoc
Copy link
Owner

Any luck @markostamcar

@markostamcar
Copy link

Yes, with https://github.com/egirault/googleplay-api ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants