android-market-api-php
android-market-api-php copied to clipboard
Cannot fetch app data from apps with country restriction
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: https://github.com/splitfeed/android-market-api-php/issues/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?
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分
I can't get it to work. I've edited my first post to clarify what my problem is.
Also having this issue, is there any solution?
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