当前位置:网站首页>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 |
边栏推荐
- Image filter from the perspective of convolution
- Localization, low latency, green and low carbon: Alibaba cloud officially launched Fuzhou data center
- An idea plug-in helps you transform dto, VO, Bo, Po, do gracefully
- After abolishing Tencent cloud: meiyabaike won the bid of 98.3 million
- Some knowledge concepts
- Full analysis of seven classical regression analysis methods
- [try to hack] at, SC, PS command authorization
- String function (Part 2)
- Google Earth engine (GEE) -- problems in the use of coordinate projection and reduceresolution functions in image downscaling
- Loongarch Godson architecture document collection
猜你喜欢

Zhou Hongyi talks about Internet thinking: users, not customers

ViewPager2+Fragment

顶级“Redis笔记”,缓存雪崩+击穿+穿透+集群+分布式锁,NB了

Hcip (PAP authentication and chap authentication of PPP)

Gecko competition 2.0 is new! Come and show your flexible operation skills!

Is it difficult for cloud native machine learning to land? Lingqueyun helps enterprises quickly apply mlops

Alexnet - paper analysis and reproduction

数字经济时代的开源数据库创新 | 2022 开放原子全球开源峰会数据库分论坛圆满召开

Hcip (configuration of GRE and mGRE and OSPF related knowledge)

配置Jupyter远程服务器
随机推荐
String function (Part 2)
Force deduction solution summary 735 planetary collision
PHP timestamp subtraction converts to days, hours, minutes and seconds
顶级“Redis笔记”,缓存雪崩+击穿+穿透+集群+分布式锁,NB了
Cache of laravel
Ruiji takeout - day01
WebView详解
[leetcode] 6. invert binary tree
Yolov3 complete explanation - from the perspective of data coding
PHP ⽉ the simplest way to add and subtract ⽅
Fusion cloud native, enabling new mileage | 2022 open atom global open source summit cloud native sub forum successfully held
Matlab sets the size of graphics window and image and the position of legend
云原生机器学习落地难?灵雀云助力企业快速应用 MLOps
SQL注入 Less23(过滤注释符)
论治理与创新 | 2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满召开
Arduino Pro Mini atmega328p connect and light the first LED (at the same time, record the problem of burning failure stk500_recv)
SQL injection less26 (filter spaces and comments, and use error injection without spaces)
[try to hack] UDF raises rights
【Try to Hack】AT、SC、PS命令提权
Laravel $object->updated_at 返回的是Carbon对象,如何返回正常时间格式