Php 如何从Windowsphone marketplace获取应用程序信息

Php 如何从Windowsphone marketplace获取应用程序信息,php,html,windows-phone-8,Php,Html,Windows Phone 8,我曾经解析windowsphone.com网站页面以获取某些应用程序的信息。 今天我注意到Microsoft已停止访问该网站-我收到HTML: <div class="content-container"><fieldset><h2>Your request appears to be from an automated process.</h2> <h3>If this is incorrect, notify us by &l

我曾经解析windowsphone.com网站页面以获取某些应用程序的信息。 今天我注意到Microsoft已停止访问该网站-我收到HTML:

 <div class="content-container"><fieldset><h2>Your request appears to be from an automated process.</h2>
  <h3>If this is incorrect, notify us by <a href="/static/redir.aspx">clicking here</a> to be redirected.</h3>
</div>
您的请求似乎来自自动化流程。
如果这是不正确的,通知我们被重定向。

有人知道在web应用程序(PHP)中根据应用程序ID获取应用程序信息(尤其是图标)的正确方法吗?

是从您的WP应用程序获取的吗?如果是这样,您可以简单地使用
市场详细信息任务
启动商店或市场

下面这个:


希望有帮助

您尝试过API吗?它只是用于搜索,但您可以按应用程序名称搜索,然后根据应用程序ID筛选结果


请求示例:

我发现这也可以工作并检索web内容:

            $agent= 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)';
            $ch3 = curl_init();
            curl_setopt($ch3, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch3, CURLOPT_URL, $url);
            curl_setopt($ch3, CURLOPT_FOLLOWLOCATION, true);
            curl_setopt($ch3, CURLOPT_CONNECTTIMEOUT, 10);
            curl_setopt($ch3, CURLOPT_SSL_VERIFYPEER, false);
            curl_setopt($ch3, CURLOPT_VERBOSE, true);
            curl_setopt($ch3, CURLOPT_USERAGENT, $agent);

不,这是我的web应用程序(PHP),谢谢。这就是我所遗漏的,它是否适用于仅适用于windows 10的应用程序?喜欢