2,339 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
List MaxiCoffee cart items
List the items in the MaxiCoffee France (maxicoffee.com) shopping cart of this browser: for each line its line id, product id, name, brand, barcode, quantity, unit price, struck-through price and line price in euros, whether it can be ordered, image and a review_hash (pass it to Remove from MaxiCoffee cart), plus the item count and total. It is the browser's guest cart: no sign-in. An empty cart gives an empty list.
Get MaxiCoffee product
Get one product of MaxiCoffee France (maxicoffee.com) by its id or product link, from the product page's own structured data: name, brand, barcode, manufacturer reference, link, price in euros and the struck-through price when shown, availability, description, rating and review count, and product photos. An unknown product id fails with an error that says so.
Add to MaxiCoffee cart
Add a MaxiCoffee France (maxicoffee.com) product to the shopping cart by its id or product link, with an optional quantity from 1 to 10, with the store's own add-to-cart call, and return the cart afterwards: each line with its line id, product id, name, quantity, prices in euros and a review_hash, plus the item count and total. Works as a guest: lines already in the cart stay. Nothing is paid or ordered. A product the store refuses (unknown, out of stock) fails with the store's own message.
Search MaxiCoffee products
Search MaxiCoffee France (maxicoffee.com) by keywords, 24 products a page, in the store's order: for each product its id (pass it to Get MaxiCoffee product or Add to MaxiCoffee cart), name, brand, category, barcode, link, price and struck-through price in euros, stock, rating out of 5 and image, plus the total number of results and whether another page follows. A brand or category word can open that brand's or category's page: redirect_url then names it and the products are its own. A search with no match, or a page after the last, gives an empty list.
Remove from MaxiCoffee cart
Remove one line from the MaxiCoffee France (maxicoffee.com) shopping cart of this browser, whatever its quantity, by its line id and the review_hash that List MaxiCoffee cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same product, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.
