当前位置:网站首页>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 |
边栏推荐
- String function (Part 2)
- [diary of supplementary questions] [2022 Niuke summer multi school 2] l-link with level editor I
- SQL injection less24 (secondary injection)
- php保留两位小数的几种方法介绍
- Analysys analysis: focus on users, improve the user experience of mobile banking, and help the growth of user value
- 【vulnhub】presidential1
- 产学研用 共建开源人才生态 | 2022 开放原子全球开源峰会教育分论坛圆满召开
- [try to hack] at, SC, PS command authorization
- arduino pro mini ATMEGA328P 连线和点亮第一盏LED(同时记录烧录失败的问题stk500_recv)
- An idea plug-in helps you transform dto, VO, Bo, Po, do gracefully
猜你喜欢

玩转诗词-领略古诗文之美

The principle and use of the wrap file of tolua

Idea replication module

太赞了!京东研发一哥力荐的高可用网站构建技术PDF,备好水,慢慢啃

Arduino Pro Mini atmega328p connect and light the first LED (at the same time, record the problem of burning failure stk500_recv)

If you don't roll the golden nine and silver ten, it's too late

Reasons and solutions for moving the first column to the last column in El table

Hcip (PAP authentication and chap authentication of PPP)

China business CDP white paper | love Analysis Report

QT writing IOT management platform 42 data query export print
随机推荐
Character function and string function (Part 1)
PHP gets all the dates of this week or the last seven days
Notes on using objectanimator
[leetcode] 6. invert binary tree
聚变云原生,赋能新里程 | 2022 开放原子全球开源峰会云原生分论坛圆满召开
Latex matrix is simple to use
MySQL之知识点(十三)
Application of mobile face stylization Technology
论治理与创新 | 2022 开放原子全球开源峰会 OpenAnolis 分论坛圆满召开
数字经济时代的开源数据库创新 | 2022 开放原子全球开源峰会数据库分论坛圆满召开
Launcher sample code
Implementation method of mouse hover, click and double click in ue4/5
Solve the PHP prompt warning: division by zero in error
新手如何快速完成建站?来免费“试衣间”体验
Some knowledge concepts
用C语言开发NES游戏(CC65)11、Metatiles
Hcip day 6 (OSPF related knowledge)
Anhui Jingzhun: Beidou satellite synchronous clock | Beidou synchronous clock | NTP network clock server
SQL注入 Less18(头部注入+报错注入)
用C语言开发NES游戏(CC65)06、精灵