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
congressgovimport surface (get_client_from_env, exceptions, workspace helpers). - Services —
Bill,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, undercongressgov.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.