Trifolium.Species.all
You're seeing just the function
all
, go back to Trifolium.Species module for more information.
Link to this function
all(opts \\ [])
Specs
all( filter: map(), filter_not: map(), order: map(), page: non_neg_integer(), range: map() ) :: Trifolium.API.response()
List every possible Specie
s.
This endpoint IS paginated, using a optional keyword parameter. By default, the page 1 is returned.
You can use a filter
or a not_filter
like so:
iex()> Trifolium.Species.all(filter: %{year: year})
The same applies to the order
and range
parameters, where you just need to pass a map to it,
that it will be correctly parsed to the query parameter.