2,122 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Search Hot Topic products
Search Hot Topic (hottopic.com, US) products by keywords, 20 a page: id, name, link, price shown and price before the discount in US dollars, whether the price is a starting price, promotion labels and image of each, plus the total count and the number of pages. A search with no match gives an empty list and a zero total, and a page past the last one gives an empty list. When Hot Topic sends the keywords to another page instead of results, redirected_to gives that page.
Get Hot Topic product
Get one Hot Topic (hottopic.com, US) product from its id or its product page link, also the id or link of one of its sizes: product id, link, name, brand, license (the franchise the page names), rating out of 5, price shown and price before the discount in US dollars, whether the price is a starting price, description, category path and images, and every offer (one size or color, or the product itself when it has none) with its offerId, color, size, price in the product data and availability as the site states it (for example InStock, OnlineOnly, PreOrder, OutOfStock). For a product with sizes, the price of an offer is the price before the promotions the cart applies. Pass offerId and the product id to Add a product to the Hot Topic cart. An id or link that Hot Topic does not know fails with a message that says so.
List the items in the Hot Topic cart
List the items in the Hot Topic (hottopic.com, US) shopping bag of this browser, as the site holds it: for each line its line id, product id, offer id (the size or color), name, seller (always Hot Topic), quantity, unit price and line price in US dollars after the promotions the bag applies, plus the number of units and the estimated subtotal, before shipping and tax. The bag is the guest bag of the browser, so no sign-in is needed. An empty bag returns an empty list, a zero count and a zero total.
Add a product to the Hot Topic cart
Add a Hot Topic (hottopic.com, US) product to the shopping bag of this browser, for shipping, and return the bag as the site holds it afterwards. Give the product id or link and, for a product that comes in sizes or colors, the offerId of one of them (both from Get Hot Topic product), with a quantity from 1 to 5. Returns the product id, offer id, name, whether the line is now in the bag, and the bag: the number of units, the estimated subtotal before shipping and tax, and each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account: lines already in the bag stay and are listed too. Nothing is paid or ordered. An unknown product, an offer of another product, a missing offerId, an offer that cannot be shipped now, or a quantity above the limit of the product fails with a message that says so, and adds nothing.
Remove a product from the Hot Topic cart
Remove lines from the Hot Topic (hottopic.com, US) shopping bag of this browser and return the bag as the site holds it afterwards. Give lineId to remove one line, or offerId to remove every line of that size or color, whatever its quantity. Both come from List the items in the Hot Topic cart. Returns removed (true when lines were removed, false when no line matched, and then nothing is changed), the number of units, the estimated subtotal before shipping and tax, and each line left with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars. Works as a guest, with no account.
List hotukdeals hot deals
List the deals on the hot tab of hotukdeals (the UK's deal community), one page of 30 at a time, in the order the site shows them. Each deal has its id, link, title, type (deal or voucher), temperature (the community vote), price and previous price in pounds sterling, discount, shipping, voucher code, merchant, category, image, who posted it, comment count, dates, and whether it is expired or local. Pass the id or link to Get hotukdeals deal for the full description. A page past the last one returns an empty list.
Search hotukdeals deals
Search the deals and vouchers posted on hotukdeals (the UK's deal community) by keyword, with the site's own filters: sort order, hide expired or local offers, price range, minimum temperature (the community vote) and period. Returns one page of 30 results with the page count. Each deal has its id, link, title, type, temperature, price and previous price in pounds sterling, discount, shipping, voucher code, merchant, category, image, who posted it, comment count, dates, and whether it is expired or local. Without a period, hotukdeals searches the last year. A search with no match returns an empty list.
Get hotukdeals deal
Read one deal or voucher posted on hotukdeals (the UK's deal community), from its link or id: title, type, temperature (the community vote), price and previous price in pounds sterling, discount, shipping, voucher code, merchant and the domain it links to, category path, the full description as text, every image, who posted it, comment count, dates, and whether it is expired or local. A deal that does not exist fails with an error that says so; an expired deal is returned with is_expired true.
