2013-04-08 78 views
3

雅虎財務有多可靠?雅虎財務有多可靠?

例如以下請求: http://developer.yahoo.com/yql/console/?q=show%20tables&env=store://datatables.org/alltableswithkeys#h=select%20 *%20from%20yahoo.finance.quotes%20where%20symbol%20英寸%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> 

要獲得可靠的服務d o我需要註冊並付款?

回答

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是free

參考

+0

謝謝,有沒有備份您的數據,雅虎文檔? – 2013-09-05 19:04:24

+1

是的。我已經添加了對答案的引用。 – 2013-09-05 19:45:52