Skip to content

samheyman/slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taxi Slack Bot

Simple Slack Bot to order taxis. Uses the mock taxi API for taxi data.

Screenshots

Call the bot and view help

bot help message

Ask for taxis

ask for all taxis

Ask for taxis in a city

get taxis in a city

Set pick-up address

specify address

Order taxi

order taxi

Usage

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What you will need:

  • python 3.6
  • pip
  • pipenv

Installing

To run it locally:

  • Create a new Slack app and get the Slack token for more details on this see this tutorial

  • Install the requirements

pipenv install
  • Run the server
pipenv run python taxi_bot/taxi_bot.py
  • Open Slack and call the bot with the following requests:
"all taxis" 
"all taxis in Madrid"
"book taxi to Calle Mayor 12, Madrid"

Authors

License

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

Acknowledgments

Built with help of this very good tutorial:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages