/room-finder-itb

Primary LanguagePythonApache License 2.0Apache-2.0

ITB Room Finder

Line bot that takes input ITB room code from user and then replies with the building's name that the room can be found. Currently, this bot only includes Ruang Kuliah Umum

Prerequisites

  1. Git
  2. Python 2 or 3
  3. Line Developer Account
  4. Heroku Account

Installing

Before you started, you must create one Messaging API app(you can refer here and set the "Use Webhooks" to "Enabled". So, you can pass your Herokuapp to the Line's Webhooks URL setting.

Clone this repository.

git clone https://github.com/Ifkarsyah/room-finder-itb.git

Get your "Channel-Access-Token" and "Channel-Secret" and place them in row 16-17

line_bot_api = LineBotApi('Channel-Access-Token')
handler = WebhookHandler('Channel-Secret')

Go to your Heroku account and go to "Deploy" tab and follow their instruction.

See the Bot in Action

Add the bot here or add the bot at @rok8141p

License

This project is licensed under the Apache License - see the LICENSE.md file for details