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