Skip to content

Collections

New in v0.10

The collections endpoint has full support, including query validation.

Endpoint Function Client method Filters class
"collections" collections Client.collections CollectionsFilters

For more information on available filters and functionality, see the Fount documentation for the collections endpoint.

Usage

Using top-level functions
import bavapi

result = bavapi.collections("TOKEN", name="Unilever")
Using Client asynchronously
import bavapi

async with bavapi.Client("TOKEN") as bav:
    result = await bav.collections(name="Unilever")

Available filters in function calls

These filters are available directly within the function/method:

  • Positional filters: name, public
  • Keyword filters: collection_id, shared_with_me, mine

For other filters, passing a CollectionsFilters instance to the filters parameter is required.