Skip to content

API reference overview

This section is generated from docstrings via mkdocstrings. For a narrative walkthrough, start with USAGE.md or the hand-written REFERENCE.md instead — these pages are best used to look up a specific class or function once you know its name.

  • Facade — the top-level congressgov import surface (get_client_from_env, exceptions, workspace helpers).
  • ServicesBill, Member, Committee, and the rest of the 21 resource classes.
  • Extensions — query/filter/chain helpers dynamically attached to models (Members.filter(...), Bill.get_actions(), …).
  • Models — the Pydantic entities these services return (Bill, Member, Amendment, …).
  • Async API — the Async* mirror of every sync service, under congressgov.async_api.

Optional-extra symbols (caching, export, batch, graph, rate limiting) are documented alongside their narrative guides in ADVANCED.md and GRAPH_CONSTRUCTION.md rather than here, since they're only importable once the matching extra is installed.