mangadex_api::v5::api_client::id::secret

Module post

Source
Expand description

Builder for getting client secret by its id.

http://api.mangadex.org/docs/redoc.html#tag/ApiClient/operation/post-regenerate-apiclient-secret

§Examples

use mangadex_api::v5::MangaDexClient;
use uuid::Uuid;

let client = MangaDexClient::default();

// NOTE This endpoint require auth

let client_res = client
    .client()
    .id(Uuid::new_v4())
    .secret()
    .post()
    .send()
    .await?;

println!("client: {:?}", client_res);

Structs§