Validate Google Hotel Center, Wego and trivago hotel feeds from CI
Description and use
CLI @metasearch/feed-validator validates hotel feeds against Google Hotel Center, Wego, and trivago contracts, exposing gaps before integration and enabling CI automation.
Problem
Hotel distribution feeds look simple until you need to send the same property data to multiple platforms.
Outcome
Feeds are validated against platform‑specific contracts, gaps are identified early, and the process can be automated in CI, reducing integration friction.
Workflow
- Run validator with npx @metasearch/feed-validator validate hotels.csv --target google-hotel-center
- Run validator for other targets: wego or trivago
- Use compare command to see gaps across platforms: npx @metasearch/feed-validator compare hotels.csv --targets google-hotel-center,wego,trivago
- Integrate into CI by adding a job that runs the validator and fails on error
- Use --output json for structured output or --fail-on warning for stricter checks
- Validator supports CSV, TSV, JSON, NDJSON, XML from local file, URL or stdin
Evidence
I wanted a simple way to catch these differences before a feed reaches a partner integration, so I built an open‑source CLI:
It currently supports published-contract validation for: Google Hotel Center, Wego Hotels, trivago
The validator currently supports: CSV, TSV, JSON, NDJSON, XML
- Record date: 2026-10-09T19:40:54.980Z