Pexels.video

You're seeing just the function video, go back to Pexels module for more information.

Retrieve a specific Video from its id.

Examples

iex> client = Pexels.client()
iex> {:ok, video = %Pexels.Video{}} = Pexels.video(client, %{id: 6982949})
iex> video.url
"https://www.pexels.com/video/woman-dancing-in-the-spotlight-6982949/"