Search Lenovo products
Automatically search Lenovo products on lenovo.com. Search the Lenovo US store (lenovo.com/us/en) by free text and get one page of products, 20 per page, in the order of Lenovo's default sort (recommended). For each product: the product code (pass it to Get a Lenovo product), name, model name, link, price, list price and saving in US dollars, rating, review count, sales status, stock flag, shipping message, outlet flag and image. Also gives the total number of products, the number of pages and whether a next page exists. Lenovo can answer a query it does not understand with loosely related products. A page after the last page gives an empty list. When Lenovo shows its "Access Denied" page, the run fails and says so.
Inputs
query requiredFree-text search, for example "thinkpad x1 carbon".
page optionalResults page, 20 products per page. Stop when has_next_page is false.
Default: 1Output
page requireditems requiredquery requiredpage_count requiredtotal_count requiredNumber of products that match, all pages together.
has_next_page required