2,122 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
List Alternate cart items
List the shopping cart of this browser on Alternate Germany (alternate.de, the German store): each line with its product id (also its line id), name, quantity, unit price and line price in euros (VAT included), plus the item count, the items total (delivery not included) and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account. A browser that never had a cart gives an empty cart.
Get Alternate product
Get one product of Alternate Germany (alternate.de, the German store) from its Alternate product id (Art.-Nr.) or product page link: name, brand, category, link, image, description, barcode number, manufacturer part number, price and currency (euros, VAT included), availability, condition, seller, average rating out of 5 and rating count, and whether the page offers an add to cart button. An id that is not an Alternate product fails with an error that says so.
Remove a product from the Alternate cart
Remove a product from the shopping cart of this browser on Alternate Germany (alternate.de, the German store), from its Alternate product id (Art.-Nr.) or product page link, whatever its quantity, as the cart page's delete button does. Returns removed and the cart after it: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. 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.
Add a product to the Alternate cart
Add a product of Alternate Germany (alternate.de, the German store) to the shopping cart of this browser, from its Alternate product id (Art.-Nr.) or product page link, with a quantity, as the product page's add button does. Returns the product id and name, the units added, and the cart after the add: each line with its product id, name, quantity, unit price and line price in euros (VAT included), the item count, the items total and the currency. Alternate sells every product itself, so offerId and seller are null. Works as a guest, with no account: lines already in the cart stay. Nothing is ordered or paid. An unknown product, or a product page with no add button, fails with an error that says so.
Search Alternate products
Search products on Alternate Germany (alternate.de, the German store) by keywords, and get one page of results in the order the site gives for relevance: each product with its Alternate product id (Art.-Nr.), name, brand, variant line, link, image, price and currency (euros, VAT included), rating count, availability as the site shows it, and key specifications. A page has up to 24 results: pass page for the next ones, and use total to know how many pages there are. The site answers almost every search with products, close matches included. A page after the last one gives an empty list. When the site sends a search to another page (a brand or category page), redirectUrl gives that page.
Get G2 product alternatives
List a G2 product's alternatives/competitors from its Alternatives page: name, product slug, and G2 rating. No login required.
