k+ open api for 2009 yahoo! open hack day by sc@20091017
DESCRIPTION
雅虎的最大的知識平台,知識+ api shareTRANSCRIPT
Yahoo! 2009 TW Open Hack DayK+ Open API
S.C. Lin@2009/10/[email protected]
Outline
•What’s K+?
•Who are using K+ Open API?
•How to use K+ Open API?
•K+ Open API Methods
•Reference/Resources
•Q&A
What’s K+?
S.C. Lin@2009/10/[email protected]
What’s K+?
http://tw.knowledge.yahoo.com/
http://hk.knowledge.yahoo.com/
What’s K+?
What’s K+?
知識 +
Knowledge Plus
What’s K+?
Yahoo! Q&A Service
What’s K+?
•TW知識數:14,995,550 •TW問題數:490,708
•TW平均回答數:2.8
•TW發問完成率:97%
•Data From Here-2009/10/01 Data
Who are usingK+ Open API?
S.C. Lin@2009/10/[email protected]
K+ Open API’s Customers
Yahoo! 奇摩生活 +http://tw.lifestyle.yahoo.com/search/srp_combo.html?p=%E4%B9%BE%E6%9D%AF
K+ Open API’s Customers
104人力銀行 - 工作知識http://www.104.com.tw/area/yahoo/index.htm
K+ Open API’s Customers
Plurk Bot - 羊羊騎貘姿勢佳http://taoyangtrivia.blogspot.com/2009/07/blog-post.html
http://www.plurk.com/sheep_knowledge
How to use K+ Open API?
S.C. Lin@2009/10/[email protected]
K+ Open API’s Doc
http://tw.developer.yahoo.com/knowledge/
Before using K+ Open API…
Get an Application ID (appid) First!https://developer.apps.yahoo.com/dashboard/createKey.html
http://tw.developer.yahoo.com/knowledge/
While accessing users’ private data…
Authentication First!
http://developer.yahoo.com/oauth/
OAuth Authentication Model
OAuth Easily with SDK
Yahoo! Social API SDK
http://developer.yahoo.com/social/sdk/
K+ Open API’s URL
http://knowledge.yahooapis.com/v2/[Method Name]/[Required Arguments]
K+ Open API’s Methods
S.C. Lin@2009/10/[email protected]
K+ Open API’s Methods
•qack page:-qack/question-qack/answer-qack/comment-qack/article
K+ Open API’s Methods
•search result page:- search
8 Special Arguments: scope, tab, mc, sc, catid, prate, kf, .intl, etc
K+ Open API’s Methods
•dir page:-dir/listing
8 Special Arguments: scope, tab, mc, sc, catid, prate, kf, .intl, etc
-category/listing
K+ Open API’s Methods
•my page (profile page):-profile/detail-profile/record/answer-profile/record/point
8 authentication required-profile/tracing/tag-profile/tracing/tagging
K+ Open API’s Methods
•qack actions (authentications required)-qack/question/Create
8 Special Arguments: notify, etc-qack/answer/Create-qack/comment/Create-qack/article/Create
8 Special Arguments: notify, etc-qack/tracing/Create
K+ Open API’s Methods
•theme page:-theme/list-theme/latest
•live page:-live/evaluate-live/trace
Reference/Resources
S.C. Lin@2009/10/[email protected]
K+ Open API
•http://tw.developer.yahoo.com/knowledge/ (Yahoo!奇摩知識 + API)-http://tw.developer.yahoo.com/knowledge/api.php (Yahoo!奇摩知識+ API 方法列表 )
Application ID
•https://developer.apps.yahoo.com/dashboard/createKey.html (YDN -> My Projects -> Request Key)
OAuth
•http://developer.yahoo.com/oauth/ (OAuth Authentication Model)-http://developer.yahoo.com/oauth/guide/ (OAuth / OpenID Guides)
-http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html (OAuth Authorization Flow)
Easier Oauth with SDK
•http://developer.yahoo.com/social/sdk/ (Yahoo! Social API SDKs)
Q&A
S.C. Lin@2009/10/[email protected]