Skip to content

A Slack bot that recommends movies and shows to watch. Built only with Ruby

Notifications You must be signed in to change notification settings

Blasco9/Ruby-Capstone-slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Slack Bot

This is my Ruby Capstone project from the Microverse curriculum.

For this project, I built a bot in Ruby that connects to the Slack API and The Movie Database API to give recommendations of movies and shows to watch.

Built With

  • Ruby
  • slack-ruby-bot
  • celluloid-io
  • dotenv

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

You will need to:

  • Create a Slack workspace here
  • Have a Slack API Token. You can get one by creating an app here
  • Have a TMDB API Key. First, register here if you don't already have an account, then follow these instructions

To complete the setup, you should have installed:

  • Ruby
  • Bundler

Install

  • Download or clone the project

  • Then to install all the dependencies run

    bundle install

Usage

To start using the bot, you'll need to create a file named .env in the root folder and paste the following inside

export SLACK_API_TOKEN=<your token>

TMDB_API_KEY=<your key>

Once you have done that you can run it by typing

bundle exec ruby bin/main.rb

After the bot is running, you can invite it to your channel

invite

Commands

help

help

recommend me a movie / recommend me a show

recommend me a movie and show

recommend me a movie (genre) / recommend me a show (genre)

recommend for genre

Author

👤 Julian Blasco

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

This project was possible thanks to The Movie Database API and the creator of the Slack Ruby Bot gem

📝 License

This project is MIT licensed.

About

A Slack bot that recommends movies and shows to watch. Built only with Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages