Install
rhetoric_py but imported as rhetoric.
Create a client
Every client takes the API URL and an API key. Keep the key on your backend.Make a request
Operations are methods on the client. This example creates a filer and then starts a filing session for them.Error handling
Each library reports failures in the way that is idiomatic for its language:- TypeScript throws an error when an operation fails.
- Python raises an exception when an operation fails.
- Rust returns an
Errwhen an operation fails.