simple_login_rs

Crates.iosimple_login_rs
lib.rssimple_login_rs
version0.1.2
created_at2022-11-10 13:21:09.393426+00
updated_at2022-11-11 17:43:41.695594+00
descriptionWrapper for simplelogin.io
homepage
repositoryhttps://gitea.heartnerds.org/Mageas/simple_login_rs
max_upload_size
id711770
size82,425
Arnaud Gaydamour (Mageas)

documentation

https://docs.rs/simple_login_rs

README

SimpleLogin Rs

This crate is a wrapper for the simplelogin.io api.


Details

  • Create the client
let mut client = SimpleLoginClient::new("app.simplelogin.io");

client.token = Some("TOKEN");
  • Make requests
// ** User Infos **
let response = client.account().get_user_info().await;

// ** Get Alias Options **
let response = client.alias().options().await;

// ** Create Mailbox **
let response = client.mailbox().create("mailbox_to_add").await;

// ** List Custom Domains **
let response = client.custom_domain().list().await;

// ** Get Settings **
let response = client.setting().get().await;

License

Licensed under GPL-3.0
Commit count: 0

cargo fmt