* Started adding youtube API for fast indexing * Hooked youtube API into fast indexing * Added youtube_api_key to settings * Added youtube api key to settings UI * Added tests * Refactored the youtube api module * More refactor * Changed editing mode name from basic to standard * [WIP] started on copy changes * Updated copy
11 lines
353 B
Elixir
11 lines
353 B
Elixir
defmodule Pinchflat.FastIndexing.YoutubeBehaviour do
|
|
@moduledoc """
|
|
This module defines the behaviour for clients that interface with YouTube
|
|
for the purpose of fast indexing.
|
|
"""
|
|
|
|
alias Pinchflat.Sources.Source
|
|
|
|
@callback enabled?() :: boolean()
|
|
@callback get_recent_media_ids(%Source{}) :: {:ok, [String.t()]} | {:error, String.t()}
|
|
end
|