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

Cannot fetch app data from apps with country restriction #32

Open
AndreasRydberg opened this issue Oct 29, 2014 · 4 comments
Open

Cannot fetch app data from apps with country restriction #32

AndreasRydberg opened this issue Oct 29, 2014 · 4 comments

Comments

@AndreasRydberg
Copy link

Hi,

I have a problem with fetching app data when an app has country restriction. I've check the others with same or similar issues like: #13

I've changed the MarketSession->__construct() to just to se if i can get it to work, but to no avail.

I'm trying to fetch data about an app with country restriction to Thailand. I've tried a various combinations of the settings.

The constructor looks like this now:

function __construct () {
  $this->context = new RequestContext();
  $this->context->setUnknown1(0);
  $this->context->setVersion(8013013);
  // Edited settings
  $this->context->setDeviceAndSdkVersion("SM-G900F:19");
  $this->context->setUserLanguage("th");
  $this->context->setUserCountry("TH");
  $this->setOperator("Hutch", "52000");
}

Edit: How can I make the API fetch info about apps that are country restricted and when the server (or device used to login) is not in that specific country? Is this a bug in the API or is this not possible to fake my location?

@xinglxb
Copy link

xinglxb commented Nov 3, 2014

Thanks! That means all the game info will be Thai?
----- 原始邮件 -----
发件人:Andreas Rydberg [email protected]
收件人:splitfeed/android-market-api-php [email protected]
主题:[android-market-api-php] Cannot fetch app data from apps with country restriction (#32)
日期:2014年10月29日 17点18分

@AndreasRydberg
Copy link
Author

I can't get it to work. I've edited my first post to clarify what my problem is.

@codebyfire
Copy link

Also having this issue, is there any solution?

@vincentkoc
Copy link
Owner

Hi Guys @wallis2xk @AndreasRydberg @xinglxb , this should work without an update - I will be updating the documentation for RC1 which should be with you guys in a few weeks at the latest

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

4 participants