emailvalidation-rs

Crates.ioemailvalidation-rs
lib.rsemailvalidation-rs
version0.1.1
sourcesrc
created_at2023-05-22 13:30:56.560498
updated_at2023-05-22 13:33:27.940953
descriptionA REST API wrapper for emailvalidation.io
homepagehttps://github.com/everapihq/emailvalidation-rs
repositoryhttps://github.com/everapihq/emailvalidation-rs
max_upload_size
id870681
size11,737
MarTechDev (martechdev)

documentation

https://emailvalidation.io/docs

README

emailvalidation-rs: Rust geolocation service via emailvalidation.io

This package is a Rust wrapper for emailvalidation.io that aims to make the usage of the API as easy as possible in your project. Emailvalidation is an email validation API that enables you to improve your marketing campaigns & conversion rates!

Installation

This crate is under development. Especially the response parsing needs some more testing. However, if you still want to use it, you can install it by adding this to your Cargo.toml:

[dependencies]
emailvalidation = "0.1.1"

Requirements

  1. API Key for emailvalidation.io
  2. Async runtime like tokio

Quickstart

use emailvalidation::Emailvalidation;
use emailvalidation::models;

async fn request_latest() -> Result<models::DetailsResponse, ipbase::Error> {
    let emailvalidation_api = Emailvalidation::new("<your-api-key>")?;
    let details = emaailvalidation_api.info("john@doe.com").await?;
     Ok(details)
}

Find out more about our endpoints, parameters and response data structure in the docs

License

The MIT License (MIT). Please see License File for more information.

Commit count: 1

cargo fmt