当前位置:网站首页>Some API interfaces purchased by Yiwu hope to bring you some help
Some API interfaces purchased by Yiwu hope to bring you some help
2022-07-28 12:25:00 【Cat sharing dry goods】
api You are no stranger to the use of interfaces , Reasonable use can make our work more convenient , Next, share some interfaces that are already available , I hope it can help you
- yiwugo.readme Access to the document
- item_search Get the list of products according to the key words
- item_get according to ID Get product details
- seller_info Get store details
- item_search_img Search Yiwu to buy goods according to the picture ( Pai Li Tao )
- upload_img Upload pictures to Yiwu to buy
onebound.yiwugo.item_get Go to test
Common parameters
Request address : https://api-gw.onebound.cn/yiwugo/item_get
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in ) |
| 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 |
Request parameters
Request parameters :num_iid=931405691
Parameter description :num_iid: goods ID
Response parameter
Version: Date:
| name | type | must | Example value | describe |
|---|---|---|---|---|
num_iid | String | 0 | 931405691 | baby ID |
title | String | 0 | Commodity title | |
desc_short | String | 0 | Product introduction | |
pic_url | String | 0 | //img1.yiwugou.com/i004/2020/05/16/40/49909083d829a807db6af05f3fad993e.png | Baby pictures |
min_num | Int | 0 | 1 | |
num | Int | 0 | 2191 | |
express_fee | Float | 0 | EMS cost | |
shipping_to | String | 0 | shipping_to | Ship to |
nick | String | 0 | Weihong women's clothing factory Yiwu Huangyuan market | Seller nickname |
detail_url | String | 0 | http://www.yiwugo.com/product/detail/931405691.html | Baby link |
desc | String | 0 | ||
seller_id | Int | 0 | The seller ID | |
sales | Int | 0 | sales | |
seller_info | Mix | 0 | {"desc": " Weihong women's clothing factory operates medium and high-end women's clothing , Fashionable and affordable , Customers from all over the country are welcome to consult and order ", "dizhi": "", "nick": " Weihong women's clothing factory Yiwu Huangyuan market ", "seller_name": "", "user_num_id": "", "phone": "", "QQ": ""} | Seller information |
shop_id | Int | 0 | The store ID | |
item_imgs | Mix | 0 | [{"url": "//img1.yiwugou.com/i004/2020/05/16/40/49909083d829a807db6af05f3fad993e.png"}] | Product picture list |
props_list | Mix | 0 | {} | Commodity properties |
skus | Mix | 0 | {"sku": [{"properties": "0:0", "properties_name": "0:0: Color : trumpet ", "price": "7.70", "orginal_price": "7.70", "quantity": 716, "sku_id": 3184603612387 }]} | Product specification information list |
price | Float | 0 | 149 | Price |
Request example
-- Request example url The default request parameters have been URL Encoding processing curl -i "https://api-gw.onebound.cn/yiwugo/item_get/?key=< Your own apiKey>&secret=< Your own apiSecret>&num_iid=931405691"
Response example
Exception example
{
"error": "item-not-found",
"reason": " Product not found ",
"error_code": "2000",
"success": 0,
"cache": 0,
"api_info": "today:0 max:10000",
"execution_time": 0.081,
"server_time": "Beijing/2020-06-10 23:44:00",
"call_args": [],
"api_type": "1688",
"request_id": "15ee0ffc041242"
}Related information
Error code interpretation
| The status code (error_code) | State information | Detailed description | Do you charge? |
|---|---|---|---|
| 0000 | success | The interface call succeeds and returns relevant data | yes |
| 2000 | Search success but no result | Interface access successful , But the search has no results | yes |
| 4000 | Server internal error | Server internal error | no |
| 4001 | Network error | Network error | no |
| 4002 | Target server error | Target server error | no |
| 4003 | Param error | User input parameter error | Ignore |
| 4004 | Account not found | User account does not exist | Ignore |
| 4005 | Invalid authentication credentials | privilege grant failed | Ignore |
| 4006 | API stopped | Your current API deactivated | Ignore |
| 4007 | Account stopped | Your account has been deactivated | Ignore |
| 4008 | API rate limit exceeded | Concurrency has reached the maximum | Ignore |
| 4009 | API maintenance | API In maintenance | Ignore |
| 4010 | API not found with these values | API non-existent | Ignore |
| 4012 | Please add api first | Please add it first api | Ignore |
| 4013 | Number of calls exceeded | The number of calls exceeds the limit | Ignore |
| 4014 | Missing url param | Missing parameter | Ignore |
| 4015 | Wrong pageToken | Parameters pageToken Mistake | Ignore |
| 4016 | Insufficient balance | Lack of balance | Ignore |
| 4017 | timeout error | request timeout | no |
| 5000 | unknown error | Unknown error | no |
边栏推荐
- Pycharm debugging mode
- 2022.07.12 summer training personal qualifying (VII)
- Cache of laravel
- Full resolution of the use of go native plug-ins
- [leetcode] 8. binary search · binary search
- Detailed deployment and configuration of CEPH cluster (II)
- 用C语言开发NES游戏(CC65)10、游戏循环
- [real question of written examination]
- Docker runs MySQL service
- IRBuilder
猜你喜欢

金九银十 再不卷就来不及了

Style conversion model style_ Transformer project instance pytorch implementation

Live: never believe that suffering is worth it. Suffering is suffering

Design process sharing of wireless anti loss alarm based on single chip microcomputer

REST风格

Saltstack command injection vulnerability analysis (cve-2020-16846)

LyScript 获取上一条与下一条指令

“蔚来杯“2022牛客暑期多校训练营2

产学研用 共建开源人才生态 | 2022 开放原子全球开源峰会教育分论坛圆满召开

用C语言开发NES游戏(CC65)07、控制器
随机推荐
Developing NES games with C language (cc65) 06. Sprites
Great! Jd.com developed the highly available website construction technology PDF recommended by the first brother. Prepare the water and chew it slowly
IDEA复制模块
Untiy controls the playback speed of animation
What if the instruction set umi2 is missing? PTK installation cannot be carried out
Developing NES games with C language (cc65) 08. Background collision
2022.07.06 summer training personal qualifying (I)
社区点赞业务缓存设计优化探索
The principle and use of the wrap file of tolua
SQL injection LESS18 (header injection + error injection)
产学研用 共建开源人才生态 | 2022 开放原子全球开源峰会教育分论坛圆满召开
金九银十 再不卷就来不及了
安徽京准:北斗卫星同步时钟|北斗同步时钟|NTP网络时钟服务器
php保留两位小数的几种方法介绍
China business CDP white paper | love Analysis Report
Ruiji takeout - day01
SQL注入 Less26(过滤空格和注释符,使用不带空格的报错注入)
云原生机器学习落地难?灵雀云助力企业快速应用 MLOps
【Try to Hack】AT、SC、PS命令提权
SQL injection less23 (filter comment)