tomba 1.1.0

Official Rust client library for the Tomba Email Finder API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::collections::HashMap;

use crate::error::TombaError;
use crate::tomba::{Tomba, TombaResponse};

impl Tomba {
    /// Find the web sources where an email address has been found.
    ///
    /// See <https://developer.tomba.io/#email-sources>
    pub fn email_sources(
        &self,
        email: &str,
    ) -> Result<TombaResponse, TombaError> {
        let mut params = HashMap::new();
        params.insert("email".into(), email.into());
        self.call("GET", "email-sources", &params)
    }
}