Skip to content

Airbnb Messaging Bot (TOBOT) - AI assistant for Airbnb Hosts

License

Notifications You must be signed in to change notification settings

shirosaidev/airbnbbot

Repository files navigation

Airbnb Messaging Bot (TOBOT)

Hi, I'm TOBOT. I'll respond to all your guest requests, so you don't have to. I'm an intelligent property manager for Airbnb Hosts. I make you more productive by managing your short term rentals. My goal is to get you more guests and make you more money. Download my beta software, I'm ready to help.

License Release Sponsor Patreon Donate PayPal

What is Tobot?

Tobot is an intelligent Airbnb host assistant which uses AI and machine learning. It will try to reply to all your guest messages. It can send replies to your guests for commonly asked questions and also send messages for new booking instructions and check out day messages, etc.. It's written in Python, you can run it on your Mac/Linux/Windows computer or in cloud such as AWS.

Tobot is still in very early beta development and not all functionality is working/tested.

TOBOT terminal

TOBOT cli

Patreon

If you are a fan of the project or using Tobot and it's helping you host your guests, please consider becoming a Patron to help advance Tobot.

Requirements

  • Python 3. (tested with Python 3.6.5)
  • nltk python module
  • requests python module
  • beautifulsoup4 python module
  • textblob python module
  • sklearn python module

Download

$ git clone https://github.com/shirosaidev/airbnbbot.git
$ cd airbnbbot

Download latest version

How to use

Install python requirements using pip

$ pip install -r requirements.txt

Copy config.py.sample to config.py and edit.

Copy corpus file tobot_corpus.txt.sample to tobot_corpus.txt.

Edit tobot_corpus.txt and create word and sentence tokens. Corpus file is the base brain for the bot which contains words/sentences used by nltk and sklearn to help the bot respond to questions.

Set environment variables for Airbnb login username and password (you can also set these in config.py).

$ export TOBOT_LOGIN=<airbnb_login_username>
$ export TOBOT_PASSWORD=<airbnb_login_password>

Set environment variables for Airbnb api key and oauth token. If you don't know these, don't set now and TOBOT will ask you if you want to look them up. (you can also set these in config.py)

$ export TOBOT_APIKEY=<airbnb_apikey>
$ export TOBOT_OAUTHTOKEN=<airbnb_oauthtoken>

Start up TOBOT:

$ python airbnb_bot.py

On first start up tobot_db.sqlite (sqlite3) database will be created in same directory. This database is where TOBOT stores new things it learns and associations between sentences and words.

Options/Settings

By default, Tobot runs in testing and training mode. This is helpful for the first few days or so to test and train Tobot. To turn off these modes, set training and testing to False in config file.

Tobot will send replies to new guests that have approved bookings. To turn this off set send_new_booking_msg to False in config.

Tobot also sends messages to guests in the morning on their check out day. To turn this off set send_checkout_msg to False in config.

Releases

No releases published

Packages

No packages published

Languages