Skip to main content
The pav-bio package mirrors the REST API. Each resource has a list and a get method named after its endpoint: GET /v1/recalls is client.recalls.list(). Responses are typed models, and lists follow pages for you.

Install

Python 3.9+. Import it as pav_bio.

Authenticate

The client reads your key from PAV_API_KEY, or takes it directly.

List and get

Parameters are the endpoint’s query parameters. Multi-value filters take a list, and from is from_.

Pages

A list returns a pager. Iterating it follows next_cursor until the last page; iter_pages() gives each page with its total.

Errors

Each error status has its own exception; body.error carries code, message and request_id.

Async