1,666 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
List Decathlon cart items
List the items in the Decathlon.fr cart of this browser, as the site holds it: for each line its line id, product id (the sku id of the exact size), offer id, name, seller, quantity, unit price and line price in euros, plus the number of items and the total of the cart, delivery not included. 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 count.
Get Decathlon product
Fetch one Decathlon.fr product page from its link (as returned by Search Decathlon products). Returns the title, brand, description, rating and review count, the color shown, the images, and the variants of that color: each size with its sku id (the id that Add Decathlon product to cart takes), offer id, price and struck-through list price in euros, the seller (Decathlon or a marketplace seller), the condition and whether it can be bought. Also lists the other colors of the product with their link. A link that is not a Decathlon product page fails with an error that says so.
Search Decathlon products
Search Decathlon.fr (French sports retailer and marketplace) by free-text query, with the site's own sort orders and filters. Returns one page of 40 results: the total number of results, the page count and has_next_page, then for each product its sku id, title, link, brand, price and struck-through list price in euros, discount, rating, review count, image, the seller (Decathlon or a marketplace seller), the sizes on offer and whether it can be bought online. Also returns the filters that apply and the filters the page offers for this search (brand, color, size, sport, seller and the product's own attributes), each value with its result count and the facet to pass back in facets. A query with no match gives an empty list. Pass a link to Get Decathlon product or Add Decathlon product to cart.
Remove Decathlon product from cart
Remove a product from the Decathlon.fr cart of this browser by its product id (the sku id of the exact size, as returned by List Decathlon cart items), whatever its quantity, and return what is left in the cart: each line with its product id, offer id, name, seller, quantity, unit price and line price in euros, plus the item count and the total. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account.
Add Decathlon product to cart
Add a Decathlon.fr 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 product id (the sku id of the exact size), offer id, name, seller, quantity, unit price and line price in euros, plus the item count and the total. Products come in colors and sizes: the link picks the color, and the sku_id picks the size. When the color has several sizes and no sku_id is given, it fails and lists the sizes with their sku_id (Get Decathlon product lists them too). 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 that cannot be bought (unavailable size, out of stock) fails with an error; a link that is not a Decathlon product page fails with an error.
