2,339 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Get Woodbrass product
Get one Woodbrass (woodbrass.com, France) product from its handle (as Search Woodbrass products returns it) or its woodbrass.com/products link: product id, title, brand, type, description, price range and struck-through price in euros, availability, images, options, and every variant with its offer_id (for Add a product to the Woodbrass cart), name, SKU, barcode, price, struck-through price and availability. An unknown handle fails with an error that says so.
Search Woodbrass products
Search Woodbrass (woodbrass.com, France, musical instruments) products by keywords, 24 a page, in the site's own order: for each product its handle (pass it to Get Woodbrass product), product id, variant id, title, brand, type, link, price and struck-through price in euros, stock quantity, rating, review count and image, plus the total number of results and whether another page follows. A search with no match, or a page after the last, gives an empty list.
List the items in the Woodbrass cart
List the Woodbrass (woodbrass.com, France) cart of this browser, as a guest: for each line its line id, product id, offer id (the variant), handle, name, variant, brand, SKU, quantity, unit price, line price and struck-through price in euros, link, image and the review_hash that Remove a product from the Woodbrass cart asks for, plus the number of units and the total. An empty cart gives count 0 and no lines. Nothing is paid or ordered.
Remove a product from the Woodbrass cart
Remove one line from the Woodbrass (woodbrass.com, France) cart of this browser, whatever its quantity, as the cart page's remove link does. Pass the line's line_id and review_hash from List the items in the Woodbrass cart (the line_id can also be just the variant id, the part before ':'): the removal is refused when the line changed since it was read (another quantity or price), and a line that is not in the cart is refused too, so nothing else is ever removed. Returns the line removed, its name, the units removed, and the cart's count and total in euros afterwards. Works as a guest, with no account.
Add a product to the Woodbrass cart
Add a Woodbrass (woodbrass.com, France) product to the cart of this browser, as a guest. Pass the product handle or link and, for a product with several variants, the offer_id of the variant from Get Woodbrass product, and a quantity from 1 to 10. Adding a variant already in the cart raises its quantity. Returns the line (line id, variant, quantity, unit and line price in euros) and the cart afterwards, with each line's review_hash for Remove a product from the Woodbrass cart. An unknown product, an offer_id of another product, a missing offer_id on a product with several variants, or Woodbrass's refusal (sold out, not enough stock) fails with a message that says so and adds nothing. Nothing is paid or ordered.
