https://github.com/ryanwinchester/hedwig_youtube
Hedwig Youtube Responder
https://github.com/ryanwinchester/hedwig_youtube
bot hedwig irc-bot responder slack-bot
Last synced: 10 months ago
JSON representation
Hedwig Youtube Responder
- Host: GitHub
- URL: https://github.com/ryanwinchester/hedwig_youtube
- Owner: ryanwinchester
- Created: 2017-06-27T06:06:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T09:03:46.000Z (over 7 years ago)
- Last Synced: 2025-02-12T21:06:24.860Z (over 1 year ago)
- Topics: bot, hedwig, irc-bot, responder, slack-bot
- Language: Elixir
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hedwig Youtube Responder
[](https://hex.pm/packages/hedwig_youtube)
[](https://hex.pm/packages/hedwig_youtube)
[](https://hex.pm/packages/hedwig_youtube)
[](https://travis-ci.org/ryanwinchester/hedwig_youtube)
## Installation
Add to the deps in `mix.exs`
```elixir
def deps do
[
{:hedwig_youtube, "~> 0.1.0"},
]
end
```
## Config
Add the responder to your `:responders` list in your bot config, `config/config.exs`
```elixir
config :my_robot, MyApp.MyRobot,
responders: [
{Hedwig.Responders.Youtube, []},
]
```
## Environment variables
- `YOUTUBE_KEY` environment variable for your **youtube API key**
```elixir
config :hedwig_youtube,
youtube_key: {:system, "YOUTUBE_KEY"}
```
Or, you can override the config, like so:
```elixir
config :hedwig_youtube,
youtube_key: "abcdefg12345678"
```