hubot-youtube-v3
A hubot script for searching YouTube with the YouTube Data API v3
Originally built as a replacement for hubot-youtube
See src/youtube-v3.coffee
for full documentation.
Installation
In hubot project repo, run:
npm install hubot-youtube-v3 --save
Then add hubot-youtube-v3 to your external-scripts.json
:
[
"hubot-youtube-v3"
]
Configuration
This package requires the HUBOT_GOOGLE_API
environment variable to be set. This is an API key for a Google Developers project with access to the YouTube Data API v3. Be sure to generate a Public API access key and not an OAuth ID.
For more information on how to set this up, see the documentation here on obtaining credentials from Google Developers.
Sample Interaction
user1>> hubot youtube me code monkey
hubot>> http://www.youtube.com/watch?v=v4Wy7gRGgeA