Holodex.Api.Channels (holodex v0.1.3) View Source
Holodex Channel
resource API module.
Includes client functions for interacting with the Channel
resource.
Link to this section Summary
Functions
Get info about a particular channel by its Youtube channel ID.
Get info about a particular channel by its Youtube channel ID.
Get all channels from Holodex, optionally with given parameters.
Get all channels from Holodex, optionally with given parameters.
Link to this section Types
Specs
Link to this section Functions
Specs
get_channel(String.t()) :: {:ok, Holodex.Model.Channel.t()} | {:error, HTTPoison.Error.t()} | {:error, Exception.t()}
Get info about a particular channel by its Youtube channel ID.
Returns a tuple containing the channel info or an error.
Specs
Get info about a particular channel by its Youtube channel ID.
Raises an exception in case of failure.
Specs
list_channels(opts()) :: {:ok, [Holodex.Model.Channel.t()]} | {:error, HTTPoison.Error.t()} | {:error, Exception.t()}
Get all channels from Holodex, optionally with given parameters.
Returns a tuple containing the response body or an error.
Specs
Get all channels from Holodex, optionally with given parameters.
Raises an exception in case of failure.