3 个版本

0.1.2 2022年11月11日
0.1.1 2022年11月11日
0.1.0 2022年11月10日

#357 in 电子邮件

GPL-3.0 许可证

48KB
1.5K SLoC

SimpleLogin Rs

本 crate 是 simplelogin.io api 的包装器。


详细信息

  • 创建客户端
let mut client = SimpleLoginClient::new("app.simplelogin.io");

client.token = Some("TOKEN");
  • 发送请求
// ** 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;

许可证

许可协议 GPL-3.0

依赖项

~3–16MB
~229K SLoC