/lu-air

Primary LanguageRuby

Web-scrapper for Airbnb

ruby version: 2.4.1
rvm version: 1.29.1
rails version: 5.1.3

Input

1) adress filling with Google maps autocomplete

2) long-term price

Functionality

1) Scrapping average price of flats in relative area on Airbnb price

2) Calculating difference between long-term rental and airbnb price:
diff = long-term price - average Airbnb price* 30

Output

Conclusion what type of rental is more profitable

Gems used

Nokogiri

Open-uri