Find your answer in our knowledge base

Official Tomba API client for dart

Tomba developer SDK for dart - pull requests welcome.

Purpose?

Find and verify the email of an individual given a name and domain or a company.

Additional functions:

  • Check the account status.
  • Checking how many request left.
  • Checking domain information .
  • Email Verifier.
  • Email Finder.
  • Email Sources.
  • List all your leads.
  • Lead Attributes.
  • domain autocomplete.
  • Checking List all your keys.
  • Usage.
  • Account Logs.
  • Email Count.

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  tomba: ^v1.0.0

You can install packages from the command line With Dart:

dart pub add tomba

Usage

Domain Search

get email addresses found on the internet.

import 'package:tomba/tomba.dart';

void main() {
  // Init SDK
  Client client = Client();
  Domain domain = Domain(client);

  client
   .setKey("ta_xxxx") // Your Key
   .setSecret("ts_xxxx"); // Your Secret
  ;

  Future result = domain.domainSearch(
    domain: 'stripe.com',
  );

  result
    .then((response) {
      print(response);
    }).catchError((error) {
      print(error.response);
  });
}

Email Finder

Find the verified email address of any professional.

import 'package:tomba/tomba.dart';

void main() {
  // Init SDK
  Client client = Client();
  Finder finder = Finder(client);

  client
   .setKey("ta_xxxx") // Your Key
   .setSecret("ts_xxxx"); // Your Secret
  ;

  Future result = finder.emailFinder(
    domain: 'stripe.com',
    firstName: 'Fname',
    lastName: 'Lname',
  );

  result
    .then((response) {
      print(response);
    }).catchError((error) {
      print(error.response);
  });
}

Email Verifier

Verify the validity of any professional email address with the most complete email checker.

import 'package:tomba/tomba.dart';

void main() {
  // Init SDK
  Client client = Client();
  Verifier verifier = Verifier(client);

  client
   .setKey("ta_xxxx") // Your Key
   .setSecret("ts_xxxx"); // Your Secret
  ;

  Future result = verifier.emailVerifier(
    email: 'b.mohamed@tomba.io',
  );

  result
    .then((response) {
      print(response);
    }).catchError((error) {
      print(error.response);
  });
}

Examples

Sample codes under examples/ folder.

Documentation

See the official documentation.

Other Libraries

There are official Tomba Email Finder client libraries available for many languages including PHP, Python, Go, Java, Ruby, and many popular frameworks such as Django, Rails and Laravel. There are also many third party libraries and integrations available for our API.

https://developer.tomba.io/#introduction-libraries

Get started here: Official Tomba API client for dart

Still have questions?

If you have any issues or questions about Tomba, feel free to contact us, we will be happy to help you!