+ All Categories
Home > Technology > Yahoo Taiwan ECommerce Open API

Yahoo Taiwan ECommerce Open API

Date post: 15-Jan-2015
Category:
Upload: brook-yang
View: 1,824 times
Download: 14 times
Share this document with a friend
Description:
for 2013 Taiwan open hackday
Popular Tags:
32
Taiwan Ecommerce Open API PRESENTED BY Brook Yang ⎪ Dec 12, 2014
Transcript
Page 1: Yahoo Taiwan ECommerce Open API

Ta iwan Ecommerce 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⎪

Page 2: Yahoo Taiwan ECommerce Open API

Who am I?

Lead Engineer 7 years at Yahoo! Ecommerce Central Search

Page 3: Yahoo Taiwan ECommerce Open API

3 Yahoo Confidential & Proprietary

Mobile Applications powered by Open APIs

Page 4: Yahoo Taiwan ECommerce Open API

4 Yahoo Confidential & Proprietary

Page 5: Yahoo Taiwan ECommerce Open API

5 Yahoo Confidential & Proprietary

Page 6: Yahoo Taiwan ECommerce Open API

Agenda

YQL EC Recommendation API EC Search API

Page 7: Yahoo Taiwan ECommerce Open API

YQLYahoo Query Language

Page 8: Yahoo Taiwan ECommerce Open API

YQL

Expressive SQL-like language Query/filter and join data across web services JSON/XML YQL console

Page 9: Yahoo Taiwan ECommerce Open API

http: / /developer.yahoo.com/yql /console/

Page 10: Yahoo Taiwan ECommerce Open API
Page 11: Yahoo Taiwan ECommerce Open API

Recommendat ion API

Page 12: Yahoo Taiwan ECommerce Open API

提供最相關的商品推薦發現你不曾想像的關係

Page 13: Yahoo Taiwan ECommerce Open API

13 Yahoo Confidential & Proprietary

Page 14: Yahoo Taiwan ECommerce Open API

14 Yahoo Confidential & Proprietary

Page 15: Yahoo Taiwan ECommerce Open API

15 Yahoo Confidential & Proprietary

Page 16: Yahoo Taiwan ECommerce Open API

16 Yahoo Confidential & Proprietary

Page 17: Yahoo Taiwan ECommerce Open API

LYRE = Light Yahoo R12n Engine

Page 18: Yahoo Taiwan ECommerce Open API

18 Yahoo Confidential & Proprietary

Page 19: Yahoo Taiwan ECommerce Open API

19 Yahoo Confidential & Proprietary

Page 20: Yahoo Taiwan ECommerce Open API

"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", "gddelv": [ "1", "2" ], "productid": "11309886", "producttype": "General", "domain": [ "0", "1", "2" ], "adult": "false" }

Page 21: Yahoo Taiwan ECommerce Open API

21 Yahoo Confidential & Proprietary

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 ]

Page 22: Yahoo Taiwan ECommerce Open API

22 Yahoo Confidential & Proprietary

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

Page 23: Yahoo Taiwan ECommerce Open API

23 Yahoo Confidential & Proprietary

Model Type

• vv = viewed also viewed

• 相似性高

• bb = bought also bought

• 互補性高 , 配件

• vb = bought after viewed

• 相關性高

Page 24: Yahoo Taiwan ECommerce Open API

EC Search API

Page 25: Yahoo Taiwan ECommerce Open API

25 Yahoo Confidential & Proprietary

Page 26: Yahoo Taiwan ECommerce Open API

Request ParametersParam 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

Page 27: Yahoo Taiwan ECommerce Open API

Response Data

Page 28: Yahoo Taiwan ECommerce Open API

Response Data

EC Property• 2 - From Service Plus ( 服務家 )

• 3 - From Super Mall ( 超級商城 )

• 4 - From Auction ( 拍賣 )

• 5 - From Shopping ( 購物中心 )

Page 29: Yahoo Taiwan ECommerce Open API

Response Data EC Options

• c2cpayment 付款方式 : 輕鬆付• c2ccreditcard 輕鬆付可刷卡• c2cfamiport family mart port 超商付

款• c2cfamicvs 付款方式 : 全家取貨• c2c711cvs 付款方式 : 7-11 取貨• shippingoversea 跨國寄送• fixprice 固定價• premiumseller 人氣賣家商品• storeitem 賣家有加入拍賣商店• newitem 全新商品• onecentitem 一元起商品

• shippingface2face 面交• freeshipping 免運費• installment 分期付款• verifyuser 安心賣家 / 優良商店

Page 30: Yahoo Taiwan ECommerce Open API

Q & A

Page 31: Yahoo Taiwan ECommerce Open API

http: / /www.sl ideshare.net/brookyang/

Page 32: Yahoo Taiwan ECommerce Open API

Thank Youb r o o k @ y a h o o - i n c . c o m


Recommended