3

雅虎金融有多可靠?

例如以下请求: http: //developer.yahoo.com/yql/console/ ?q=show%20tables&env=store: //datatables.org/alltableswithkeys#h=select%20 *%20from%20yahoo.finance。引号%20where%20symbol%20in%20%28%22YHOO%22%2C%22AAPL%22%2C%22GOOG%22%2C%22MSFT%22%29

间歇性返回响应:“当前表 'yahoo.finance.quotes' 已被阻止。它超出了时间或指令的分配配额”

这是完整的回复:

<?xml version="1.0" encoding="UTF-8"?>
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
    yahoo:count="0" yahoo:created="2013-04-08T11:16:18Z" yahoo:lang="en-US">
    <diagnostics>
        <publiclyCallable>true</publiclyCallable>
        <url execution-start-time="24" execution-stop-time="25"
            execution-time="1" proxy="DEFAULT"><![CDATA[http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xml]]></url>
        <cache execution-start-time="27" execution-stop-time="27"
            execution-time="0" method="GET" type="MEMCACHED"><![CDATA[13c4f8eac77ad886bade5a711c8c1ef5]]></cache>
        <javascript name="yahoo.finance.quotes" verb="select"><![CDATA[The current table 'yahoo.finance.quotes' has been blocked. It exceeded the allotted quotas of either time or instructions]]></javascript>
        <user-time>28</user-time>
        <service-time>1</service-time>
        <build-version>35405</build-version>
    </diagnostics> 
    <results/>
</query>

要获得可靠的服务,我需要注册并付款吗?

4

1 回答 1

3

要获得可靠的服务,我需要注册并付款吗?

以下是限制:

                    Public  OAuth with API Key
Hourly Cap          2,000   20,000
Daily Cap           None    100,000

为了更好地理解上表中的速率限制,让我们使用以下示例。假设您创建的应用程序每小时从每个用户生成大约 3,000 个请求。尽管您注意到用户使用公共端点最多可以调用 2,000 次,因此您向 Yahoo! 注册了一个 API 密钥。使用经过身份验证/授权的端点。现在,您的用户每小时可以发出 20,000 个请求,每天最多可以发出 100,000 个请求。

oAuth 是免费的。

参考

于 2013-09-05T18:03:19.333 回答