|
||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
README.md
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;