开放API
开放API
①方维API
http://www.rituan.com/index.php?m=API&a=citys(团购城市)
http://www.rituan.com/index.php?m=API&a=goods(今日团购)
http://www.rituan.com/index.php?m=API&a=goods&city=4(获取指定城市的今日团购,4为城市ID)
②SOSOAPI(标准soso格式)
http://www.rituan.com/index.php?m=API&a=soso
③hao123(标准hao123格式)
http://www.rituan.com/index.php?m=API&a=hao123
④hao360(标准hao360格式) http://www.rituan.com/index.php?m=API&a=hao360city(团购城市)
http://www.rituan.com/index.php?m=API&a=hao360product(今日团购)
⑤团p
http://www.rituan.com/index.php?m=API&a=tuanp
⑥赶集
http://www.rituan.com/index.php?m=API&a=ganji
⑦团800
http://www.rituan.com/index.php?m=API&a=tuan800
⑧搜狐团购
http://www.rituan.com/index.php?m=API&a=sohu
以下为自写API 要求
城市列表
URL:/index.php?m=API&a=citys格式
xmlHTTP请求方式
get返回结果
XML示例:
最新团购商品信息
URL:/index.php?m=API&a=goods&city=1 格式
xml
HTTP请求方式
get
参数
city: 城市ID
返回结果
XML示例: //团购名称










