0.0
No commit activity in last 3 years
No release in over 3 years
Scrape TravelMob locations and convert to json.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

Stories in Ready

El Pinguino

Gem Version Code Climate

El Pinguino lets you scrape Travelmob locations by country and convert to JSON.

Installation

# Gemfile
gem 'el_pinguino'
$ bundle

Or install it yourself as:

$ gem install el_pinguino

Usage

# Country is mandatory to prevent city-name collisions
ElPinguino.find_locations(country: 'Thailand',
	city: 'Bangkok',
	people: 6,
	beds: 3,
	amenities: 'air_conditioning,internet')

Optional Fields

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

Contributing

  1. Fork it ( https://github.com/HackerParadise2014/el_pinguino/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request