Pexels.curated_photos
You're seeing just the function
curated_photos
, go back to Pexels module for more information.
This endpoint enables you to receive real-time photos curated by the Pexels team.
Examples
iex> client = Pexels.client()
iex> {:ok, response = %Pexels.Client.Photo.PhotosResponse{}} = Pexels.curated_photos(client, %{per_page: 2, page: 1})
iex> response.photos |> Enum.count
2