Pexels.collection_media
You're seeing just the function
collection_media
, go back to Pexels module for more information.
This endpoint returns all of your collections.
Examples
iex> client = Pexels.client()
iex> {:ok, %{media: media} = %Pexels.Client.Collection.CollectionMediaResponse{}} = Pexels.collection_media(client, %{id: "z40vgi2", per_page: 1})
iex> media |> Enum.count
1