Closed ghost closed 9 years ago
How can i get a valid auth token? I tried to send a request to https://android.clients.google.com/auth and get AUTH field from response. But anyway I get a 401 Unauthorized Error (if in auth request service = ac2dm) or blank page (if service = androidmarket), when i send request to link like this https://android.clients.google.com/fdfe/details?doc=com.google.android.apps.maps. All headers in the second query with the same as headers in client.py.
UPDATE: I thought that deviceId is androidId. It was a mistake. deviceId is "The IMEI for GSM and the MEID or ESN for CDMA phones". Everything is OK now.
How can i get a valid auth token? I tried to send a request to https://android.clients.google.com/auth and get AUTH field from response. But anyway I get a 401 Unauthorized Error (if in auth request service = ac2dm) or blank page (if service = androidmarket), when i send request to link like this https://android.clients.google.com/fdfe/details?doc=com.google.android.apps.maps. All headers in the second query with the same as headers in client.py.
UPDATE: I thought that deviceId is androidId. It was a mistake. deviceId is "The IMEI for GSM and the MEID or ESN for CDMA phones". Everything is OK now.