| Crates.io | tmapi |
| lib.rs | tmapi |
| version | 1.0.0 |
| created_at | 2025-07-26 13:25:17.882288+00 |
| updated_at | 2025-08-08 14:30:56.481517+00 |
| description | Simple TempMailAPI library for barid.site |
| homepage | https://github.com/doomed-neko/tmapi |
| repository | https://github.com/doomed-neko/tmapi |
| max_upload_size | |
| id | 1769169 |
| size | 113,008 |
This is a library crate for interacting with vwh's TempMail service located at https://web.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();