Pexels.photo
You're seeing just the function
photo
, go back to Pexels module for more information.
Retrieve a specific Photo from its id.
Examples
iex> client = Pexels.client()
iex> {:ok, %{liked: _liked, photo: photo} = %Pexels.Client.Photo.PhotoResponse{}} = Pexels.photo(client, %{id: 156934})
iex> photo.url
"https://www.pexels.com/photo/white-and-black-cat-156934/"