A script in Python that lets you easily share/lookup a movie in Slack.
- Create a Slack Incoming Webhook. Take note of the Webhook URL as that is important. The rest of the settings are not.
- Deploy your copy of
movie-slackpy
and make sure it is accessible via an endpoint. - Create a Slack Slash Command. Be sure to set your method to POST and set your URL endpoint from Step #2. All the other options are optional.
The following environment variables need to be set!
BOT_NAME
- The username in which the webhook should respond with. Defaults to whatever it set on the webhook configuration. (Default: Meseeks)EMOJI
- The emoji to use with the webhook response. Defaults to whatever it set on the webhook configuration. (Deafault: 🎥)SLACK_WEBHOOK_URL
- Slack Incoming Webhook URL. (REQUIRED)OMDB_API_KEY
- Your API Key for OMDB API.
I am open to all feedback, bug reports, and pull requests!
- Add
imdbID
support. - Add searching by year.
- Add tests.