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.
- Ruby
- slack-ruby-bot
- celluloid-io
- dotenv
To get a local copy up and running follow these simple example steps.
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
-
Download or clone the project
-
Then to install all the dependencies run
bundle install
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
👤 Julian Blasco
- Github: @Blasco9
- Linkedin: Julian Blasco
- Email: blascoblasco9@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project was possible thanks to The Movie Database API and the creator of the Slack Ruby Bot gem
This project is MIT licensed.