| Crates.io | paperless-api-client |
| lib.rs | paperless-api-client |
| version | 6.0.1 |
| created_at | 2025-10-19 22:31:48.652724+00 |
| updated_at | 2025-11-09 14:55:36.636411+00 |
| description | Paperless-ngx API client |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1891026 |
| size | 1,000,928 |
paperless-api-clientPaperless-ngx API client
OpenAPI Spec for Paperless-ngx
The documentation for the crate is generated along with the code to make this library easy to use.
To install the library, add the following to your Cargo.toml file.
[dependencies]
paperless-api-client = "6.0.1"
Typical use will require intializing a Client. This requires
a user agent string and set of credentials.
use paperless_api_client::Client;
let client = Client::new(
String::from("api-key"),
);
Alternatively, the library can search for most of the variables required for the client in the environment:
PAPERLESS_API_CLIENT_API_TOKEN
And then you can create a client from the environment.
use paperless_api_client::Client;
let client = Client::new_from_env();