List King Jouet products of a category page
Automatically list King Jouet products of a category page on king-jouet.com. List the products of one King Jouet category, brand or franchise page, in the order the site shows them: reference, name, product link, price, original price when on sale, rating, brand, franchise, whether it can be bought on the web site, whether it is under embargo, the labels the card shows (such as pre-order or new product), and the codes of the stores that hold it. Pass the link of the listing page as you see it on the site (for example the Pokemon trading cards page); pass page for the next pages. Returns the number of matching products and pages the site reports, and an empty list when the page shows no product. Use it on a schedule to spot new products and restocks, then add one with King Jouet add to cart.
Input
url requiredLink of a King Jouet listing page, such as https://www.king-jouet.com/jeux-jouets/jeux-societes/cartes-a-collectionner/pokemon/page1.htm.
page optionalPage of the listing to read, starting at 1. The page number in the link is replaced by this one.
Default: 1Output
page requiredproducts requiredtotal_pages requiredtotal_products requiredNumber of products the site reports for the whole listing.
FAQ
List King Jouet cart items
List the items in the King Jouet cart of this browser, as the site holds it: for each line the product reference, name, quantity, unit price and line price, plus the number of items and the cart total in euros. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list and a zero total.
Get King Jouet product
Read one King Jouet product page from its link: reference, name, brand, price in euros, the availability the page declares, and whether the page offers a button to add it to the cart or to pre-order it. Use it to check one product before adding it with King Jouet add to cart. A link that is not a King Jouet product page fails with an error; a page without a price returns a null price.
Add King Jouet product to cart
Add a King Jouet product to the shopping cart from its product page link, with an optional quantity, and return the cart as the site holds it afterwards: each line with its reference, quantity and prices, plus the item count and total. Works as a guest, with no account: the cart lives in the browser, so lines already in it stay and are listed too. Nothing is paid or ordered. A product page that does not offer the web add button (out of stock, store pickup only) fails with the availability the page declares; a link that is not a King Jouet product page fails with an error.
