Foxtable(狐表)用户栏目专家坐堂 → [原创][转帖]如何调用淘宝的SDK


  共有3269人关注过本帖树形打印复制链接

主题:[原创][转帖]如何调用淘宝的SDK

帅哥哟,离线,有人找我吗?
redbule2
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:72 积分:1257 威望:0 精华:0 注册:2017/11/6 12:18:00
[原创][转帖]如何调用淘宝的SDK  发帖心情 Post By:2020/10/18 0:10:00 [显示全部帖子]

======================================================以下是例子
ITopClient client = new DefaultTopClient(url, appkey, secret);

TradeFullinfoGetRequest req = new TradeFullinfoGetRequest();

req.Fields = "tid,type,status,payment,orders,promotion_details";

req.Tid = 123456789L;

TradeFullinfoGetResponse rsp = client.Execute(req, sessionKey);

Output.Show(rsp.Body);

SDK大小超过限制,不让传,怎么办,关键是怎么找到命名空间,怎么传参进去

Dim url = "taobao.trades.sold.increment.get"
Dim appkey As String = "28512001"
Dim secret As String = "4cd89f967e135f3e64a894ed323343bb"

Dim ITopClient As new TopSdk.ITopClient =========================================这句报错,关键是我引用DLL以后,不知道怎么去dim 出来命名空间,然后使用

Dim client As ITopClient = New DefaultTopClient(url,appkey,secret)
Dim req As TradeFullinfoGetRequest = New TradeFullinfoGetRequest()
req.Fields = Functions.Execute("取字段","销售订单","淘宝")

Dim rsp As TradeFullinfoGetResponse = client.Execute(req,"6100127746ed660b54d6fd3ff43b1f5ccfc101908e299f82901232563")
Output.Show(rsp.Body)

以下是接口文档





[此贴子已经被作者于2020/10/18 9:54:07编辑过]

 回到顶部
帅哥哟,离线,有人找我吗?
redbule2
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:72 积分:1257 威望:0 精华:0 注册:2017/11/6 12:18:00
  发帖心情 Post By:2020/10/18 0:33:00 [显示全部帖子]

Dim url = "taobao.trades.sold.increment.get"
Dim appkey As String = "28512001"
Dim secret As String = "4cd89f967e135f3e64a894ed323343bb"

Dim ITopClient As new TopSdk.ITopClient =========================================这句报错,关键是我引用DLL以后,不知道怎么去dim 出来命名空间,然后使用

Dim client As ITopClient = New DefaultTopClient(url,appkey,secret)
Dim req As TradeFullinfoGetRequest = New TradeFullinfoGetRequest()
req.Fields = Functions.Execute("取字段","销售订单","淘宝")

Dim rsp As TradeFullinfoGetResponse = client.Execute(req,"6100127746ed660b54d6fd3ff43b1f5ccfc101908e299f82901232563")
Output.Show(rsp.Body)

以下是接口文档


 回到顶部