Akdeniz / google-play-crawler

Play with Google Play API :)
Other
565 stars 204 forks source link

How to set different locales ? #16

Open Artgit opened 11 years ago

Artgit commented 11 years ago

In order to parse apps and comments in differents languages we need to provide different locales per request. How it could be implemented with this library ? Thanks.

Artgit commented 11 years ago

Guys, I'm really blocked with it.

How to get access to request object in order to add my header ?

for example: HttpClient client = new DefaultHttpClient(); HttpPost request = new HttpPost(URL); request.addHeader("Accept-Language", "en");

Fuzion24 commented 11 years ago

My guess is that in addition to the request headers, you have to create a new device with a different locale.