Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanwinchester/hedwig_youtube
Hedwig Youtube Responder
https://github.com/ryanwinchester/hedwig_youtube
bot hedwig irc-bot responder slack-bot
Last synced: about 11 hours ago
JSON representation
Hedwig Youtube Responder
- Host: GitHub
- URL: https://github.com/ryanwinchester/hedwig_youtube
- Owner: ryanwinchester
- Created: 2017-06-27T06:06:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-12T09:03:46.000Z (about 6 years ago)
- Last Synced: 2024-10-13T13:14:32.635Z (28 days 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
[![Hex.pm](https://img.shields.io/hexpm/v/hedwig_youtube.svg)](https://hex.pm/packages/hedwig_youtube)
[![Hex.pm](https://img.shields.io/hexpm/l/hedwig_youtube.svg)](https://hex.pm/packages/hedwig_youtube)
[![Hex.pm](https://img.shields.io/hexpm/dt/hedwig_youtube.svg)](https://hex.pm/packages/hedwig_youtube)
[![Build Status](https://travis-ci.org/ryanwinchester/hedwig_youtube.svg?branch=master)](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"
```