liato / android-market-api-py

A Python port of the java Android Market API.
128 stars 43 forks source link

searchApp is no longer working #1

Closed sfh1182 closed 12 years ago

sfh1182 commented 12 years ago

For instance, when I try:

results = session.searchApp("Education", entriesCount = 10, startIndex=0)

...I get an empty list returned. Any ideas?

andrewmlevy commented 12 years ago

ran into the same issue

khiro commented 12 years ago

you need to set the correct android id which is found in Gtalk service monitor (star sharp star sharp 8255 sharp star sharp star) i can get search result, following code. session = MarketSession() session.login("user@gmail.com", "password") session.context.androidId = "ANDROID_ID" results = session.searchApp("Application Name")

ferodia commented 12 years ago

Hello, I have the same problem here, I added the line you specified but it gives this error

Traceback (most recent call last): File "", line 1, in File "androidmarket.py", line 155, in searchApp response = self.execute(request) File "androidmarket.py", line 145, in execute raise RequestError(e) androidmarket.RequestError: HTTPError()

Could someone help me ? Thanks

khiro commented 12 years ago

Hello ferodia,

Did you set correct android id ? Android id is alphabet and digit combination strings of 16 length. You can find it in Gtalk service monitor's "Device ID: android-XXXXXXXXXXXXXXXX" Please check it.

ferodia commented 12 years ago

It works now, the problem was that android ID I was using is banned, so I had to use another one.

ferodia commented 12 years ago

Hi, Actually the one I had apprently wasn't working anymore so I used a new one and now it's working. Thanks for your help

2012/1/5 khiro < reply@reply.github.com

Hello ferodia,

Did you set correct android id ? Android id is alphabet and digit combination strings of 16 length. You can find it in Gtalk service monitor's "Device ID: android-XXXXXXXXXXXXXXXX" Please check it.


Reply to this email directly or view it on GitHub:

https://github.com/liato/android-market-api-py/issues/1#issuecomment-3369645

Fadwa FATHALLAH lve ingnieur TELECOM ParisTech / Institut EURECOM prsidente du BDE EURECOM 06 58 70 09 20

liato commented 12 years ago

Thanks for your help @khiro. I guess I can close this issue now.