A slackbot webhook that allows you to search for beer information within Slack via Untappd
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
beer.php
untappdPHP.php

README.md

slackuntappd - A Slackbot for Untappd

This library is a simple script that allow you to enter a webhook URL and return beer information through the Slack interface by using the untappd command

Requirements

PHP 5+
CURL

Getting Access to the Untappd API

  1. Head over to https://untappd.com/api and request and API key. Requests may take up to 2-3 weeks for approval, but once you get approval, add your client_id and client_secret to the beer.php file on line 26 and 27

Getting Started with Slack

  1. Upload untappdPHP.php and beer.php to your webserver.

  2. Log into your Slack Instance and click on the Title of the Slack Group and select Configure Integrations

  1. Scroll down to the bottom of the page, and click "Outgoing Webhooks"

  1. Add all the details in to the form, including the URL to the endpoint you uploaded the files in the repo to the form as shown below:

  1. Go into the channel you assigned the webhook and enter "untappd BEERNAME" and you'll be on your way!

To Do

Error Handling

Getting Help

If you need help or have questions, please contact Greg Avola on Twitter at http://twitter.com/gregavola