pav-bio package wraps the REST API one to one: every resource has a
list and a get, named after the endpoint (GET /v1/recalls is
client.recalls.list()). Responses are typed models; lists page for you.
Install
pav_bio.
Authenticate
The client reads your key fromPAV_API_KEY, or takes it directly.
List and get
from is from_.
Pages
A list returns a pager. Iterating it followsnext_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.