Welcome to Tomba Docs! Create a free Tomba account and gain instant access to 400+ million contacts!
Language Libraries

Dart Client Library

Installation

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

dependencies:
  tomba: ^v1.0.1
yml

You can install packages from the command line With Dart:

dart pub add tomba
bash

Usage

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);
  });
}
dart

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);
  });
}
dart

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);
  });
}
dart

Examples

Sample codes under examples/ folder.