hot hot new new new new new
Taobao API access instructions

Openchinaapi Taobao API access

upload_img-upload pictures to Taobao [DEMO]

openchinaapi.taobao.upload_img

Public parameters

Request address: https://api.openchinaapi.com/v1/taobao/upload-img/

name type must describe
keyStringYesCall the key (must be spliced ​​in the URL by GET)
secretStringYesCall key
api_nameStringYesAPI interface name (included in the request address) [item_search,item_get,item_search_shop, etc.]
cacheStringno[yes,no] The default yes, the cached data will be called, which is faster
result_typeStringno[json,jsonu,xml,serialize,var_export] returns the data format, the default is json, the content output by jsonu can be read directly in Chinese
langStringno[cn,en,ru] translation language, default cn simplified Chinese
versionStringnoAPI version
Request parameter

Request parameters: imgcode=https://img14.360buyimg.com/n0/jfs/t1/52280/38/7464/140698/5d511f6bE08290bd7/f0bb32ddb47451e8.jpg

Parameter description: imgcode: the content of the image after base64 encryption (post mode), or direct upload (file mode)

Response parameters
name type Sample value describe
status
Int1status code
name
StringTB14_f0bsrrK1Rjy1zeXXXalFXaPicture name
url
String//g-search3.alicdn.com/img/bao/uploaded/i4/TB14_f0bsrrK1Rjy1zeXXXalFXaPicture URL
error
StringfalseError message
extraInfo
Stringwidth:430height:430size=26429Picture extra information
Response example
{
    "success": true,
    "messages": "",
    "data": {
        "name": "https://img.alicdn.com/imgextra/O1CN01QLlSKS1jX9aSZLoCR_!!0-imgsearch.jpg",
        "status": 1
    },
    "total": 2
}