Skip to content

Sectors

New in v0.10

The sectors endpoint has full support, including query validation.

Endpoint Function Client method Filters class
"sectors" sectors Client.sectors SectorsFilters

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

Usage

Using top-level functions
import bavapi

result = bavapi.sectors("TOKEN", name="Distribution")
Using Client asynchronously
import bavapi

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

Available filters in function calls

These filters are available directly within the function/method:

  • Positional filters: name, in_most_influential
  • Keyword filters: sector_id

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