• WP8__从windowsphone app store 中根据app id获取应用的相关信息(下载网址及图片id等)


    windows phone 官网应用商店地址 http://www.windowsphone.com/zh-cn/store/featured-apps
    --------------------------------------------------------------------------------
    --------------------------------------------------------------------------------
    Application Info URL

    http://marketplaceedgeservice.windowsphone.com/v8/catalog/apps/{app guid}?os=8.0.10211.0&cc=AU&lang=en-US

    Replace “app guid” with the Guid for your application. You can find the Guid for your application by finding the application in the web version of the Windows Phone Store and then looking in the address bar.

    Image URL

    http://cdn.marketplaceimages.windowsphone.com/v8/images/{image guid}?hw=486577666&imagetype=icon_small

    Replace “image guid” with the Guid for the image you want to retrieve. The image Guids are listed in the information returned from the application info URL.

    --------------------------------------------------------------------------------
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------
    微信的appid:23e1505b-9383-4ed4-9195-da23a3442820

    A xml文件:
    http://marketplaceedgeservice.windowsphone.com/v8/catalog/apps/{23e1505b-9383-4ed4-9195-da23a3442820}?os=8.0.10211.0&cc=AU&lang=en-US

    B web应用商店信息:
    http://www.windowsphone.com/zh-cn/store/app/%E5%BE%AE%E4%BF%A1/23e1505b-9383-4ed4-9195-da23a3442820

    通过xml文件信息,读取出B中涉及到该app的所有图片信息
    http://cdn.marketplaceimages.windowsphone.com/v8/images/{6a58b828-e239-4814-8542-1089ee268ad7}?hw=486577666&imagetype=icon_small
    http://cdn.marketplaceimages.windowsphone.com/v8/images/{d9e7df82-ad27-4218-aa9f-9d6c2af1e3c3}?hw=486577666&imagetype=icon_small

    在xm文件的a:entry节中,记录了该app的所有信息,其中
    <url>http://cdn.marketplacecontent.windowsphone.com/public/83d47067-2660-4005-9ce3-511a9ca93d84</url>
    即为该app的下载网址,下载完毕后,手动修改文件名为.xap格式即可
    ---------------------------------------------------------------------------------

    UC浏览器的appid:6cda5651-56b9-48b0-8771-91dbc188f873

    B web应用商店信息:
    http://www.windowsphone.com/zh-cn/store/app/uc%E6%B5%8F%E8%A7%88%E5%99%A8/6cda5651-56b9-48b0-8771-91dbc188f873

    A xml文件:
    http://marketplaceedgeservice.windowsphone.com/v8/catalog/apps/{6cda5651-56b9-48b0-8771-91dbc188f873}?os=8.0.10211.0&cc=AU&lang=en-US

    通过xml文件信息,读取出B中涉及到该app的所有图片信息
    http://cdn.marketplaceimages.windowsphone.com/v8/images/{f3c02cde-7821-40be-8c2d-f5c017239137}?hw=486577666&imagetype=icon_small
    http://cdn.marketplaceimages.windowsphone.com/v8/images/{d366972b-5e54-4323-8cc3-474d3c3de6d4}?hw=486577666&imagetype=icon_small

    在xm文件的a:entry节中,记录了该app的所有信息,其中
    <url>http://cdn.marketplacecontent.windowsphone.com/public/f7a75758-f367-4217-a905-17c0f0fe9376</url>
    即为该app的下载网址,下载完毕后,手动修改文件名为.xap格式即可
    ---------------------------------------------------------------------------------
    参考网址:http://nicksnettravels.builttoroam.com/post/2014/01/09/Querying-data-from-the-Windows-Phone-and-Windows-Stores.aspx

    本文中lang=en-US选择的是美国市场

    lang=zh-cn为中国市场

    关于“http://marketplaceedgeservice.windowsphone.com/v8/catalog/apps/{app guid}?os=8.0.10211.0&cc=AU&lang=en-US”中后面“/”中的参数等信息还有待完善,希望大家给出自己比较好的意见

  • 相关阅读:
    Making your first driver
    注册表与盘符(转victor888文章 )
    电脑Win7如何取得文件管理所有权(提供各种GHOST版本的Windows)
    可拖动的DIV
    IE Javascript 进阶调试
    优化性能
    命令模式
    MVC 4 结合jquery.uploadify 上传实例
    IIS处理并发请求时出现的问题及解决
    Spring3.2 + Hibernate4.2
  • 原文地址:https://www.cnblogs.com/jx270/p/3802048.html
Copyright © 2020-2023  润新知