1,563 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
Get Cdiscount product
Fetch one Cdiscount.com product page by its sku (the id that Search Cdiscount products returns, for example jbl1200130029967). Returns title, brand, barcode number, manufacturer reference, price and struck-through list_price in euros, rating, review_count, rating_breakdown (number of ratings per star), availability, condition, the seller of the offer shown with its rating, the count and lowest price of the other new and used offers, free_shipping, deals such as Black Friday operations with their end time, breadcrumb, images, description, highlights, the technical attributes and the variants (other colors or sizes, each with its own sku, URL and price). The returned sku can differ from the requested one when Cdiscount opens another variant. An unknown sku fails with an error that says so.
Get Cdiscount product reviews
Fetch the customer reviews of one Cdiscount.com product by its sku (from Search Cdiscount products), 10 at a time, with Cdiscount's own sort orders and a star filter. Returns the product's rating summary (average, review count, number of ratings per star, recommendations, average per criterion such as value for money) and each review's id, rating, title, text, date, reviewer name, helpful and unhelpful votes, source, criterion scores and images. source tells where the review comes from: Native (written on Cdiscount), Syndicated (copied from the brand's site, named in source_name) or Family (written for another variant, named in source_name). Pass page to read further; has_next_page is false on the last page. A product with no reviews gives an empty list. An unknown sku fails with an error that says so.
Search Cdiscount products
Search Cdiscount.com by free-text query, with Cdiscount's own sort order and filters (category, brand, price band, seller, delivery, customer rating, condition and the product's attributes). Returns one page of results: the total result and page counts, has_next_page, the filters that apply, the items (sku, offer_id, title, url, price, list_price, rating, review_count, image_url, sponsored, seller, condition, free_shipping and deals such as Black Friday operations with their end time), and the filters the page offers for this search, each value with the id to pass back in filters and its result count. Prices are in euros. A page has about 45 to 65 items, sponsored ones included. Stop paging when has_next_page is false: Cdiscount refuses a page far past the last one, and the run then fails. When few products match, Cdiscount shows loosely related products; a filter id that matches nothing gives an empty items list with total_results 0. Pass a sku to Get Cdiscount product or Get Cdiscount product reviews.
