当前位置:网站首页>taobao. logistics. dummy. Send (no logistics delivery processing) interface, Taobao store delivery API interface, Taobao order delivery interface, Taobao R2 interface, Taobao oau2.0 interface
taobao. logistics. dummy. Send (no logistics delivery processing) interface, Taobao store delivery API interface, Taobao order delivery interface, Taobao R2 interface, Taobao oau2.0 interface
2022-07-02 14:35:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
taobao.logistics.dummy.send( No logistics delivery processing ) Interface , Taobao store delivery API Interface , TaoBao r2 Interface , TaoBao oAu2.0 Interface , Taobao order delivery interface , The interface can be applied to , Store delivery , Store order synchronization ,ERP System , Order push , Store upload goods and other businesses , Hope to help friends in need , Code docking is as follows :
1. Common parameters
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in , Click to get the test key and secret) |
| secret | String | yes | Call key |
| api_name | String | yes | API The name of the interface ( Included in the request address )[item_search,item_get,item_search_shop etc. ] |
| cache | String | no | [yes,no] Default yes, The cached data... Will be called , It's quite fast |
| result_type | String | no | [json,jsonu,xml,serialize,var_export] Return data format , The default is json,jsonu The output content can be read directly in Chinese |
| lang | String | no | [cn,en,ru] Translation language , Default cn Simplified Chinese |
| version | String | no | API edition |
2. Request parameters
Request parameters :api=
Parameter description : Other parameters : Refer to the interface document of Taobao open platform , It is consistent with the parameters of Taobao https://open.taobao.com/api.htm?docId=140&docType=2
name type must describe api String The interface name of Taobao open platform ( Such as :taobao.picture.upload( Upload single picture )) session String In exchange for authorization session_id [ The other parameters ] String Other parameters : Refer to the interface document of Taobao open platform , It is consistent with the parameters of Taobao
https://open.taobao.com/api.htm?docId=140&docType=2
3. Request example (CURL、PHP 、PHPsdk 、Java 、C# 、Python...)
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# Request example url The default request parameters have been changed URL code
url = "https://vx19970108018/taobao/custom/?key=< Your own apiKey>&secret=< Your own apiSecret>&method="
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)4. Response example
{
"logistics_dummy_send_response":{
"shipping":{
"is_success":true
}
}
}
边栏推荐
- Use of swagger
- YoloV6训练:训练自己数据集遇到的各种问题
- 删除元素(带过渡动画)
- buuctf-pwn write-ups (7)
- obsidian安装第三方插件——无法加载插件
- 微信小程序使用towxml显示公式
- 提示:SQL Server 阻止了对组件‘Ad Hoc Distributed Queries ‘的STATEMENT ‘OpenRowset/OpenDatasource“”
- PTA question bank== > complex four operations, one for one, examination seat number (7-73)
- 抓包工具fiddler学习
- Quarkus学习四 - 项目开发到部署
猜你喜欢

Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022

Analysis of CPU surge in production environment service

Fabric. JS zoom canvas

The use of TestNG, the testing framework (II): the use of TestNG XML

腾讯云 TStor 统一存储通过信通院首批文件存储基础能力评测

C crystal report printing

什么是 eRDMA?丨科普漫画图解

每日学习3

测试框架TestNG的使用(二):testNG xml的使用

< schematic diagram of oral arithmetic exercise machine program development> oral arithmetic exercise machine / oral arithmetic treasure / children's math treasure / children's calculator LCD LCD driv
随机推荐
Teamtalk source code analysis win client
Fabric.js 缩放画布
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
篇9:XShell免费版安装
Route (II)
Fabric.js 自由绘制椭圆
数据库连接池和数据源
Quarkus learning IV - project development to deployment
MQ教程 | Exchange(交换机)
1、编辑利器vim
Understanding of mongodb
Adhere to the foundation of 20 minutes go every day II
STM32标准固件库函数名记忆(二)
OpenCV调用USB摄像头的点滴
Fabric.js 自由绘制圆形
NLA natural language analysis realizes zero threshold of data analysis
每日学习2
Fabric. JS zoom canvas
Thymeleaf dependency
Tip: SQL Server blocked the state 'openrowset/opendatasource' of component 'ad hoc distributed queries'