Taiwan Ecommer ce Open API 
P R E S E N T E D B Y B r o o k Y a n g ⎪ D e c 1 2 , 2 0 1 4
Who am I? 
 Lead Engineer 
 7 years at Yahoo! 
 Ecommerce Central Search
Mobile Applications powered by Open APIs 
3 Yahoo Confidential & Proprietary
4 Yahoo Confidential & Proprietary
5 Yahoo Confidential & Proprietary
Agenda 
 YQL 
 EC Recommendation API 
 EC Search API
YQL 
Yahoo Query Language
YQL 
 Expressive SQL-like language 
 Query/filter and join data across web services 
 JSON/XML 
 YQL console
ht tp: / /developer.yahoo.com/yql /console/
Recommendat ion API
提供最相關的商品推薦 
發現你不曾想像的關係
13 Yahoo Confidential & Proprietary
14 Yahoo Confidential & Proprietary
15 Yahoo Confidential & Proprietary
16 Yahoo Confidential & Proprietary
LYRE = Light Yahoo R12n Engine
18 Yahoo Confidential & Proprietary
19 Yahoo Confidential & Proprietary
"property": "shopping", 
"id": "4530097", 
"priceTag": "13900", 
"title": "HTC One mini 4.3吋雙核心極致輕巧智慧機", 
"desc": "BoomSou...
Parameters for Lyre-item 
 SELECT * FROM yahoo.taiwan.lyre-item WHERE prop="shopping" 
AND cid="3459176" AND model="vv” 
...
Content ID 
 Shopping 
› http://tw.buy.yahoo.com/gdsale/gdsale.asp?gdid=2701035 
 Store 
› http://tw.page.mall.yahoo.com...
Model Type 
• vv = viewed also viewed 
• 相似性高 
• bb = bought also bought 
• 互補性高, 配件 
• vb = bought after viewed 
• 相關性高 
...
EC Search API
25 Yahoo Confidential & Proprietary
Request Parameters 
Param Name Required Description Values 
keyword Y words to search for any text 
minprice N the minimum...
Response Data
Response Data 
 EC Property 
• 2 - From Service Plus (服務家) 
• 3 - From Super Mall (超級商城) 
• 4 - From Auction (拍賣) 
• 5 - ...
Response Data 
 EC Options 
• c2cpayment 付款方式: 輕鬆付 
• c2ccreditcard 輕鬆付可刷卡 
• c2cfamiport family mart port 超商付款 
• c2cfam...
Q & A
ht tp: / /www.sl ideshare.net /brookyang/
Thank You 
b r o o k@y a h o o - i n c . c om
Yahoo Taiwan ECommerce Open API
Upcoming SlideShare
Loading in …5
×

Yahoo Taiwan ECommerce Open API

2,993 views

Published on

for 2013 Taiwan open hackday

Published in: Technology, Business
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,993
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
20
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • http://staging.yql.yahooapis.com/v1/public/yql?q=select%20*%20from%20search.ec%20where%20keyword%3D%22iphone%205s%22%20and%20minprice%3D20000%20&format=json
  • Yahoo Taiwan ECommerce Open API

    1. 1. Taiwan Ecommer ce Open API P R E S E N T E D B Y B r o o k Y a n g ⎪ D e c 1 2 , 2 0 1 4
    2. 2. Who am I?  Lead Engineer  7 years at Yahoo!  Ecommerce Central Search
    3. 3. Mobile Applications powered by Open APIs 3 Yahoo Confidential & Proprietary
    4. 4. 4 Yahoo Confidential & Proprietary
    5. 5. 5 Yahoo Confidential & Proprietary
    6. 6. Agenda  YQL  EC Recommendation API  EC Search API
    7. 7. YQL Yahoo Query Language
    8. 8. YQL  Expressive SQL-like language  Query/filter and join data across web services  JSON/XML  YQL console
    9. 9. ht tp: / /developer.yahoo.com/yql /console/
    10. 10. Recommendat ion API
    11. 11. 提供最相關的商品推薦 發現你不曾想像的關係
    12. 12. 13 Yahoo Confidential & Proprietary
    13. 13. 14 Yahoo Confidential & Proprietary
    14. 14. 15 Yahoo Confidential & Proprietary
    15. 15. 16 Yahoo Confidential & Proprietary
    16. 16. LYRE = Light Yahoo R12n Engine
    17. 17. 18 Yahoo Confidential & Proprietary
    18. 18. 19 Yahoo Confidential & Proprietary
    19. 19. "property": "shopping", "id": "4530097", "priceTag": "13900", "title": "HTC One mini 4.3吋雙核心極致輕巧智慧機", "desc": "BoomSound 前置雙喇叭<br>1.4GHz 雙核心處理器<br>UltraPixel 感光元件BSI 相 機<br> Video Highlight", "link": "http://tw.buy.yahoo.com/gdsale/gdsale.asp?gdid=4530097", "soldout": "false", "imageLinks": { "large": "http://tw.m.yimg.com/res/gdsale/st_pic/4530/st-4530097-s400.jpg", "medium": "http://tw.m.yimg.com/res/gdsale/st_pic/4530/st-4530097-s200.jpg", "small": "http://tw.m.yimg.com/res/gdsale/st_pic/4530/st-4530097-s60.jpg" }, "imageLinksInfo": { "large": { "url": "http://tw.m.yimg.com/res/gdsale/st_pic/4530/st-4530097-s400.jpg", "width": "400", "height": "400" }, "extension": { "catchPhrase": "搶購", "pricePhrase": "<span class="shpdollar">$</span><span class="shpprice">13900</span><span class="shpdollarunit">元</span>", "zone": "4", "sub": "430", "cat": "6850",
    20. 20. Parameters for Lyre-item  SELECT * FROM yahoo.taiwan.lyre-item WHERE prop="shopping" AND cid="3459176" AND model="vv”  prop = [shopping | store | auction ]  cid = content ID = product ID  model = [ vv | bb | vb ] 21 Yahoo Confidential & Proprietary
    21. 21. Content ID  Shopping › http://tw.buy.yahoo.com/gdsale/gdsale.asp?gdid=2701035  Store › http://tw.page.mall.yahoo.com/item/p078625196595  Auction › http://tw.page.bid.yahoo.com/tw/auction/f56053034 22 Yahoo Confidential & Proprietary
    22. 22. Model Type • vv = viewed also viewed • 相似性高 • bb = bought also bought • 互補性高, 配件 • vb = bought after viewed • 相關性高 23 Yahoo Confidential & Proprietary
    23. 23. EC Search API
    24. 24. 25 Yahoo Confidential & Proprietary
    25. 25. Request Parameters Param Name Required Description Values keyword Y words to search for any text minprice N the minimum price for the returned items any number maxprice N the max price for the returned items any number sortBy N sorting order "curprice" (目前出價), "buyprice"(直購價), "bidcnt"( 出價次,auction only) , "starttime"(刊登時間), "endtime" (結束時間) sortOrder N sorting criteria descending, if not specified "asc" for ascending property N restrict the search on particular properties "auction", "store", "splus", "shopping". default: search all properties
    26. 26. Response Data
    27. 27. Response Data  EC Property • 2 - From Service Plus (服務家) • 3 - From Super Mall (超級商城) • 4 - From Auction (拍賣) • 5 - From Shopping (購物中心)
    28. 28. Response Data  EC Options • c2cpayment 付款方式: 輕鬆付 • c2ccreditcard 輕鬆付可刷卡 • c2cfamiport family mart port 超商付款 • c2cfamicvs 付款方式: 全家取貨 • c2c711cvs 付款方式: 7-11取貨 • shippingoversea 跨國寄送 • fixprice 固定價 • premiumseller 人氣賣家商品 • storeitem 賣家有加入拍賣商店 • newitem 全新商品 • onecentitem 一元起商品 • shippingface2face 面交 • freeshipping 免運費 • installment 分期付款 • verifyuser 安心賣家/優良商店
    29. 29. Q & A
    30. 30. ht tp: / /www.sl ideshare.net /brookyang/
    31. 31. Thank You b r o o k@y a h o o - i n c . c om

    ×