tub_ex v0.2.0
TubEx.Video
Provide access to the /videos are of YouTube API
Summary
Type that represents TubEx.Video struct
Returns a list of videos that match the API request parameters
Search from youtube via query
Types
Type that represents TubEx.Video struct.
Functions
Fetch contents details
Example:
iex> TubEx.Video.get("_J4QPz52Sfo")
{ :ok, %TubEx.Video{} }
Search from youtube via query.
Examples
Get videos by query:
iex> TubEx.Video.search("The great debates")
{ :ok, [%TubEx.Video{}, ...], meta_map }
Custom query parameters:
iex> TubEx.Video.search("The great debates", [
paramKey: paramValue,
...
])
{ :ok, [%TubEx.Video{}, ...], meta_map }