paperless-api-client

Crates.iopaperless-api-client
lib.rspaperless-api-client
version6.0.1
created_at2025-10-19 22:31:48.652724+00
updated_at2025-11-09 14:55:36.636411+00
descriptionPaperless-ngx API client
homepage
repository
max_upload_size
id1891026
size1,000,928
Felix Richter (ju6ge)

documentation

https://docs.rs/paperless-api-client

README

paperless-api-client

Paperless-ngx API client

docs.rs

API Details

OpenAPI Spec for Paperless-ngx

Client Details

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"

Basic example

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();
Commit count: 0

cargo fmt