【问题标题】:Amazon Web Service for Alexa用于 Alexa 的亚马逊网络服务
【发布时间】:2014-01-21 16:13:53
【问题描述】:

AWS(亚马逊网络服务)提供了一个 API,用于向 Alexa 提交 HTTP 请求。

此 API 称为 Alexa Web Information Service。

我使用&Action=UrlInfo&ResponseGroup=UsageStats 提交了一个HTTP 请求。

然后我在 HTTP 响应中收到一个 XML。

这是 XML 中与我的问题相关的部分:

<aws:PageViews>
    <aws:PerMillion>
        <aws:Value>12,345</aws:Value>
        <aws:Delta>+0.67%</aws:Delta>
    </aws:PerMillion>
    <aws:Rank>
        <aws:Value>1</aws:Value>
        <aws:Delta>0</aws:Delta>
    </aws:Rank>
    <aws:PerUser>
        <aws:Value>12.34</aws:Value>
        <aws:Delta>-0.56%</aws:Delta>
    </aws:PerUser>
</aws:PageViews>

API 的文档位于 http://docs.aws.amazon.com/AlexaWebInfoService/latest/

我在 HTTP 请求中使用的特定参数的说明,可以在 API 参考 / Actions / UrlInfo 下找到,但我无法找到上述任何标签的任何详细信息。

有没有人碰巧知道这些标签的确切含义? :

  • 每百万/价值

  • 百万/增量

  • 排名/价值​​

  • 等级/增量

  • 每用户/价值

  • 每用户/增量

谢谢

【问题讨论】:

  • 这是我多年来一直在寻找的东西,但显然他们的 api 文档很糟糕。

标签: amazon-web-services alexa


【解决方案1】:

关于 aws:PerMillion

PageViews PerMillion 统计数据显示“在每百万次网页浏览中 由当今互联网上的所有用户制作的网页浏览量 这个网站?”然后平均每天的网页浏览量 指定时间段。

https://forums.aws.amazon.com/message.jspa?messageID=578614

和 aws:PerUser

它是“每百万互联网浏览量”

https://forums.aws.amazon.com/message.jspa?messageID=265890

【讨论】:

    【解决方案2】:

    根据 Treton 的回答,我根据对返回值的理解对示例结果进行了注释:

     <aws:TopSites>
      <!-- Country in which the sites in this result have been grouped. -->
      <aws:Country>
        <aws:CountryName>Australia</aws:CountryName>
        <aws:CountryCode>AU</aws:CountryCode>
        <!-- Total number of sites Alexa is tracking in this country -->
        <aws:TotalSites>22052</aws:TotalSites>
        <!-- List of sites in result. -->
        <aws:Sites>
          <aws:Site>
            <aws:DataUrl>google.com</aws:DataUrl>
            <aws:Country>
              <!-- Rank within country (eg 10 = 10th most popular site in country). -->
              <aws:Rank>1</aws:Rank>
              <!-- -->
              <aws:Reach>
                <!--
                Out of every million users on the internet today, how many visited
                this site?
                @see https://forums.aws.amazon.com/message.jspa?messageID=578614
                -->
                <aws:PerMillion>801700</aws:PerMillion>
              </aws:Reach>
              <aws:PageViews>
                <!--
                Out of every million pageviews by all users on the internet
                today, how many were made to this site?
                -->
                <aws:PerMillion>267200</aws:PerMillion>
                <!--
                What is the average (mean) number of pageviews to this site, per
                user, per day?
                -->
                <aws:PerUser>14.94</aws:PerUser>
              </aws:PageViews>
            </aws:Country>
            <!-- Rank within whole world.  -->
            <aws:Global>
              <aws:Rank>1</aws:Rank>
            </aws:Global>
          </aws:Site>
        </aws:Sites>
      </aws:Country>
    </aws:TopSites>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-29
      • 2017-11-29
      • 2012-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多