8 releases (1 stable)
Uses new Rust 2024
| 1.0.0 | Aug 8, 2025 |
|---|---|
| 0.1.4 | Aug 8, 2025 |
| 0.1.3 | Jul 27, 2025 |
#107 in Email
35KB
875 lines
A simple library to help with using vwh's TempMail service on https://barid.site
use tmapi::Client;
let client = Client::new("y@iusearch.lol").unwrap();
// limit, offset
let emails = client.get_emails( 10 , 0 ).await.unwrap();
let first_email = emails.iter().next().unwrap();
let id = &first_email.id;
client.delete_inbox(id).await.unwrap();
TempMailAPI for rust
This is a library crate for interacting with vwh's TempMail service located at https://web.barid.site/
Example:
use tmapi::Client;
let client = Client::new("y@iusearch.lol").unwrap();
// limit, offset
let emails = client.get_emails( 10 , 0 ).await.unwrap();
let first_email = emails.iter().next().unwrap();
let id = &first_email.id;
client.delete_inbox(id).await.unwrap();
Dependencies
~7–19MB
~240K SLoC