Menu

Track hotel prices for any city into a spreadsheet with Python
📰

Track hotel prices for any city into a spreadsheet with Python

DEV Community: tutorial·GridForge·1 day ago
#T32ICddy
#devtotutorial#devto#dev#hotel#search
Reading 0:00
15s threshold

Comparing hotel prices gets tedious when you keep repeating the same search and copying rates into a spreadsheet. Tracking how those prices change is even harder unless you save the dates, guest count and time of each search.

I built the tool used here.

This walkthrough uses GridForge's Google Hotels Scraper to collect a hotel-price snapshot and export it to CSV. You can start without code, then use Python when you want a repeatable workflow.

What you get

Each result represents one hotel from the first page of the location search. Available fields include:

Field What it tells you

name Hotel name

pricePerNight Displayed nightly price before taxes

pricePerNightWithTaxes Displayed nightly price including taxes

rating Guest rating

reviewCount Number of guest reviews

hotelClass Hotel star classification

latitude , longitude Property coordinates

website Official website, when supplied

Guest rating and hotel class measure different things.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.