$oAppReq= new AppsRequest();
$oAppReq-> setQuery('tennis');
$oAppReq-> setStartIndex(0);
$oAppReq-> setEntriesCount(5);
$oAppReq-> setWithExtendedInfo(true);
$oAppReq-> setOrderType(AppsRequest_OrderType::POPULAR);
$oAppReq-> setViewType(AppsRequest_ViewType::PAID);
$reqGroup= new Request_RequestGroup();
$reqGroup-> setAppsRequest($oAppReq);
$response= $session->execute($reqGroup);
$groups = $response->getResponsegroupArray();
It would be great if you could let me know how to solve this issue.
$this->context->setDeviceAndSdkVersion("passion:8");
$this->context->setUserLanguage("ja");
$this->context->setUserCountry("JP");
$session = new MarketSession();
$session->context->setUserLanguage("ja");
$session->context->setUserCountry("JP");
The values in MarketSession.php are for defaults to make sure it works
without entering any values.