Skip to content

ryanwinchester/hedwig_youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hedwig Youtube Responder

Hex.pm Hex.pm Hex.pm Build Status

Installation

Add to the deps in mix.exs

def deps do
  [
    {:hedwig_youtube, "~> 0.1.0"},
  ]
end

Config

Add the responder to your :responders list in your bot config, config/config.exs

config :my_robot, MyApp.MyRobot,
  responders: [
    {Hedwig.Responders.Youtube, []},
  ]

Environment variables

  • YOUTUBE_KEY environment variable for your youtube API key
config :hedwig_youtube,
  youtube_key: {:system, "YOUTUBE_KEY"}

Or, you can override the config, like so:

config :hedwig_youtube,
  youtube_key: "abcdefg12345678"

Releases

No releases published

Packages

No packages published

Languages