hubot-googl
v1.1.3
Published
A Hubot script for generating short goo.gl URLs with public click analytics.
Downloads
6
Maintainers
Readme
hubot-googl
A Hubot script for generating short goo.gl URLs with public click analytics.
See src/googl.coffee
for full documentation.
Installation via NPM
Install the hubot-googl module as a Hubot dependency by running:
npm install --save hubot-googl
Enable the module by adding the hubot-googl entry to your
external-scripts.json
file:[ "hubot-googl" ]
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