Java "hand in hand" Weidian product list page data collection + Weidian product price data sorting, Weidian API interface application guide

The Weidian platform was founded in May 2011 as an application developed by Beijing Pocket Fashion Technology. In January 2014, the "Weidian" APP was officially launched. Weidian has transformed from the store opening tool of choice for small and micro store owners to a system and infrastructure that helps entrepreneurs develop their interests, create brands, and build businesses.

Weidian product list data includes product name, price, sales volume, details, pictures, etc.

On the WeChat product list page, you can find the required products by searching for keywords, or you can filter the required products by category. After all filtering is completed, click the filter button in the upper right corner.

Collection scene

Enter a keyword search on the Weidian homepage (weidian.com) and collect the product list page data obtained after the search. The keyword in the example is [Daphne Jewelry], which can be changed according to needs. It also supports automatic batch input of multiple keywords. 

Collection field

Collection fields include keyword text values, product titles, store names, product prices, number of payers, product links, store names, brands, shipping locations, etc.

Collection results

The collection results can be exported to Excel, CSV, HTML, database and other formats. Export to Excel example:

Code display 

micro.item_search-keyword search micro-store product list data return value description

1.Public parameters

name type must describe
key String yes Call key (must be spliced ​​into the URL in GET mode, demo example is shown)
secret String yes call key
api_name String yes API interface name (included in the request address) [item_search, item_get, item_search_shop, etc.]
cache String no [yes,no] The default is yes, which will call cached data and is faster.
result_type String no [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
lang String no [cn,en,ru] translation language, default cn simplified Chinese
version String no API version (copy Taobaoapi2014 to get the APISDK file)

2. Request Example

 

3. Response example

 

Guess you like

Origin blog.csdn.net/weixin_44591885/article/details/132847283