Expand description
Rust bindings to the congress.gov REST API.
§High-level features
- REST API bindings are divided between Endpoint, Client, and Query traits
- Auth and state are managed by the Cdg struct
- Optional Endpoint parameters are added to a query via a Builder API
- Responses are returned as a serde_json::Value
This crate only provides an async implementation.
Modules§
- api
- API endpoint structures
Structs§
- Cdg
- The primary struct used when consuming Endpoints. Holds a reusable reqwest::Client, base url, and Auth.