Giter VIP home page Giter VIP logo

hipchathooks's Introduction

hipchathooks Build Status

Endpoints to use for hipchat webhooks and integrations.

Running locally

Each endpoint provides example POST data when viewed as a GET request. Use that data in Chrome DHC or Postman or whatever you use for that kind of stuff.

You can run locally with node...

$ node index

But you won't have the required API keys. If running locally and using the Heroku Toolbelt, you should create an .env file with your api keys and run locally with:

$ foreman start dev

###Required Api vars (add these to a .env file)

IMGUR_ID="xxxxx"
YOU_TUBE_KEY="xxxx"

To install in your hipchat room

NOTE: you must be an admin of the room to proceed. See here for a list of all available hooks.

  1. Log in to the hipchat website.
  2. Go to http://hipchat.com/rooms?t=mine
  3. Click on the My Rooms tab
  4. Click on the room to which you want to add the bot.
  5. On the left panel, click the "Integrations" link.
  6. Make sure the "Find New" tab is selected.
  7. The first tile under the bitbucket banner should be "Build Your Own!" Click create.
  8. Enter a name for your integration. This will be the bot's chatroom handle. Click create.
  9. Scroll to the bottom of the page and check the box that says "Add a Command".
  10. Where it says enter your slash command enter the slug for your bot. Ex: "/jif". This is what triggers the bot.
  11. Where it says "We will POST to this URL"enter the api url and append your slug. Ex: https://hipchathooks.herokuapp.com/api/jif
  12. Click "Save".

###Learn more Read How to create a HipChat webhook. And see also.

hipchathooks's People

Contributors

chrisdevwords avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.