1,666 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Get Micromania product
Fetch one Micromania.fr product page from its link (the url that Search Micromania products returns). Returns sku, title, brand, ean, price and struck-through list_price in euros, rating, review_count, availability, condition, seller, release date, description, breadcrumb, images and whether the product can be added to the cart. A link that is not a product page, or a product that no longer exists, fails with an error that says so.
List Micromania cart items
List the items in the Micromania cart of this browser, as the site holds it: for each line its product id, name, quantity, unit price and line price in euros, plus the number of items and the cart total of the items (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.
Search Micromania products
Search Micromania.fr (video games, trading cards and gaming goods, in euros) by free-text query, with the site's own sort orders, one page of about 20 results at a time. Returns the page number, has_next_page, the total number of results when the site states it, and the items: sku, title, url, price, struck-through list_price, rating, review_count, image_url, brand, ean, availability, condition and whether the product can be added to the cart. Stop paging when has_next_page is false. Pass the url of an item to Get Micromania product and Add a product to the Micromania cart.
Remove a product from the Micromania cart
Remove a product from the Micromania cart of this browser by its product id, whatever its quantity, and return what is left in the cart: each line with its product id, name, quantity, unit price and line price in euros, plus the item count and the total of the items. 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 a product to the Micromania cart
Add a Micromania 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, name, quantity, unit price and line price in euros, plus the item count and the total of the items. 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 without the add button (out of stock, in store only) fails with an error, and so does a quantity above what the site allows per cart; a link that is not a Micromania product page fails with an error.
