Crate pkrs

Source
Expand description

A very simple wrapper around the PluralKit api using reqwest and serde.

It closely follows the structure of the API itself, and as such the official API documentation is likely the best resource for now.

§Examples

Creating a PkClient and getting a System

use pkrs::client::PkClient;
use pkrs::model::System;

let client = PkClient {
    token: my-token,
    ..Default::default()
};

let sys: System = client.get_system("abcde".into()).await?;

Modules§

client
model