ScrapingBee/google-hotels-api ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Google Hotels scraping demo that uses the ScrapingBee API to search hotels and return clean JSON with the main details a travel app would need.
I want to pass in a city or hotel search, check in and check out dates, guests, rooms, language, currency, and country, then get back hotel names, prices, total price, ratings, review counts, amenities, location, and booking providers. Please include simple examples for both Python and Node.js, plus a basic curl example, so I can see how to use it right away.
Make sure it handles the common API errors well enough for real use, like bad auth, rate limits, and retries. If it helps, add a tiny price monitoring example that compares results across different dates. Keep it straightforward and focused on making hotel data easy to fetch and work with, without needing to deal with proxies, CAPTCHA, or browser automation myself.
Are you gonna build this?
make sure you review the code using coderabbit