Search Pelando deals
Automatically search Pelando deals on pelando.com.br. Search the deals and coupons posted on Pelando (Brazil's deal community) by keyword, with the site's own filters: sort order (newest, hottest or recently commented) and hide expired deals. Returns 20 results at a time. Each deal has its id, slug (the input of Get Pelando deal), link, title, type (promotion or coupon), temperature (the community vote score in degrees), price in reais, discount, free shipping, merchant and its id, the merchant link, image, who posted it, comment count, publication date, and whether it is expired. The fields have the same names as the Dealabs, mydealz and hotukdeals scripts; fields Pelando does not show in its lists (previous price, voucher code, category, description, start and end dates) are null. Pass next_cursor as cursor to get the next page. A search with no match returns an empty list.
Inputs
query requiredWords to search for, for example "airfryer" or "iphone 15".
sort optionalnew (newest first, the site's default), hot (highest temperature first) or commented (recently commented first).
Default: "new"cursor optionalnext_cursor of the previous answer, for the next page. Null for the first page.
Default: nullhide_expired optionalLeave out expired deals.
Default: falseOutput
deals requiredquery requirednext_cursor requiredPass as cursor for the next page. Null after the last page.
has_next_page requiredFAQ
Get Pelando deal
Read one deal or coupon posted on Pelando (Brazil's deal community), from its link or slug: title, type (promotion or coupon), temperature (the community vote score in degrees), price in reais, discount, free shipping, voucher code, merchant and the merchant page it links to, communities, the full description as text, image, who posted it, comment count, publication date, and whether it is expired. The fields have the same names as the Dealabs, mydealz and hotukdeals scripts; fields Pelando does not show (previous price, shipping price, start and end dates) are null. An older expired deal is shown by Pelando without its details: then only its id, title, type, status, merchant, image, author, comment count and date are given, and the other fields are null. A deal that does not exist fails with an error that says so.
List Pelando hot deals
List the deals on the hottest tab of Pelando (Brazil's deal community), 20 at a time, hottest first, with the site's filters: period (today, this week or this month), hide expired deals, and stores. Each deal has its id, slug (the input of Get Pelando deal), link, title, type (promotion or coupon), temperature (the community vote score in degrees), price in reais, discount, free shipping, merchant and its id, the merchant link, image, who posted it, comment count, publication date, and whether it is expired. The fields have the same names as the Dealabs, mydealz and hotukdeals scripts; fields Pelando does not show in its lists (previous price, voucher code, category, description, start and end dates) are null. Pass next_cursor as cursor to get the next page. A period with no deal returns an empty list.
