hubot-googl

1.1.3 • Public • Published

hubot-googl

Build Status devDependency Status

A Hubot script for generating short goo.gl URLs with public click analytics.

See src/googl.coffee for full documentation.

Installation via NPM

  1. Install the hubot-googl module as a Hubot dependency by running:

    npm install --save hubot-googl
    
  2. Enable the module by adding the hubot-googl entry to your external-scripts.json file:

    [
        "hubot-googl"
    ]
  3. Run your bot and see below for available config / commands

Configuration

Variable Default Description
GOOGLE_API_KEY N/A A unique developer API key is required to use Google's URL Shortener API

Commands

Command Listener ID Description
hubot shorten url googl.shorten Creates a new short URL with url

Sample Interaction

user1>> hubot shorten http://docs.gl/
hubot>> user1: http://goo.gl/b2ddNc

Package Sidebar

Install

npm i hubot-googl

Weekly Downloads

3

Version

1.1.3

License

MIT

Last publish

Collaborators

  • mrsaints