8000 GitHub - jarkaK/hotel-matcher: Find hotel urls on multiple websites
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jarkaK/hotel-matcher

Repository files navigation

Hotel matcher

Prerequisities

  • ruby installed (ideally version > 2.0)

Setup

Run bundle

bundle install

Using

To find urls of a hotel run the gem from a command line

./bin/hotel-matcher hotel-name

Development

Running tests

Tests (rspec) can be ran from command line

rspec spec

Improvements

Following improvements could be implementes:

  • use official APIs of tripadvisor/booking/holidaycheck instead of parsing responses that can possibly change
  • check the returned list of hotels and check if the first hotel is really the requested one
  • implement real messaging system (sidekiQ - simple, RabbitMQ - more complex, supported by many languages)
  • matching in batches (support of multiple arguments)
  • documentation & rdoc generation
  • storing results in database
  • support logger configuration from other appss

About

Find hotel urls on multiple websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0