El Pinguino lets you scrape Travelmob locations by country and convert to JSON.
# Gemfile gem 'el_pinguino'
Or install it yourself as:
$ gem install el_pinguino
# Country is mandatory to prevent city-name collisions ElPinguino.find_locations(country: 'Thailand', city: 'Bangkok', people: 6, beds: 3, amenities: 'air_conditioning,internet')
amenities # String of comma seperated values bathrooms # Number of bathrooms bedrooms # Number of bedrooms beds # Number of beds pages # Maximum number of pages to scrape people # Number of guests that can be accomodated
- Fork it ( https://github.com/HackerParadise2014/el_pinguino/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request