2,122 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Get Electro Dépôt product
Read one product of the Electro Dépôt French store (electrodepot.fr) from its product id or its product page link: reference, name, link, brand, price and former price in euros (taxes included), eco-participation, condition, categories, images, description text, the specification table, and availability: home delivery, the delivery fee, and pickup at the store the site chose for this browser (its city, now or later, and in how many days). The site picks that store from where the browser connects; when it has chosen none, as for most new guests, the store fields are null. A product id or link that the site does not know fails with an error that says so. Get product ids from Search Electro Dépôt products.
List Electro Dépôt cart items
List the items in the shopping cart of this browser on the Electro Dépôt French store (electrodepot.fr): the item count, the items total in euros (taxes included, delivery not included), the currency, and each line with its line id, product id, offer id (always null), name, seller, quantity, unit price and line price. Works as a guest, with no account: the cart lives in the browser, so a new browser has an empty cart. An empty cart returns an empty list.
Add Electro Dépôt product to cart
Add a product of the Electro Dépôt French store (electrodepot.fr) to the shopping cart of this browser, from its product id or product page link, with a quantity from 1 to 10, as the product page's add to cart button does. Returns the cart as the site holds it afterwards, in the shape List Electro Dépôt cart items gives (item count, items total in euros, currency, lines), plus the product id, offer id (always null), name and the units added. Works as a guest, with no account: lines already in the cart stay. A product id or link the site does not know, and a product the site refuses to add, fail with an error that says so. Nothing is paid or ordered.
Search Electro Dépôt products
Search the Electro Dépôt French store (electrodepot.fr) by free text and return one page of results as the site shows them, in its own order. For each product: product id, reference, name, link, price and former price in euros (taxes included), eco-participation, brand, condition, rating, review count, tag, key features, categories, image and a last items flag. When the text matches one of its categories, the site shows that category page instead: the result then gives the category name and the page link. Stop paging when has_next_page is false; a page past the last one returns an empty list. A search with no match returns an empty list. Prices are those the site shows to a new guest. Pass a product id to Get Electro Dépôt product.
Remove product from Electro Dépôt cart
Remove a product from the shopping cart of this browser on the Electro Dépôt French store (electrodepot.fr), by its product id (as List Electro Dépôt cart items returns it), whatever its quantity, as the cart page's delete button does. Pass a line id to remove one line only. Returns removed and the cart as it is after the removal: item count, items total in euros, currency, and each line with its line id, product id, offer id, name, seller, quantity, unit price and line price. A product that is not in the cart gives removed false and the cart unchanged, not an error. Works as a guest, with no account.
