An open API service indexing awesome lists of open source software.

https://github.com/treble37/yt_potion

Lightweight YouTube V3 Data API wrapper
https://github.com/treble37/yt_potion

elixir wrapper youtube-api

Last synced: 10 months ago
JSON representation

Lightweight YouTube V3 Data API wrapper

Awesome Lists containing this project

README

          

# YtPotion

YouTube v3 Data API Wrapper

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:

1. Add `yt_potion` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[{:yt_potion, "~> 0.1.3"}]
end
```

2. Ensure `yt_potion` is started before your application:

```elixir
def application do
[applications: [:yt_potion]]
end
```

3. In your config.exs file in your Phoenix app:

```elixir
config :yt_potion, YtPotion,
yt_api_key: System.get_env("YT_API_KEY")
```