NAME

Tomba::Bulk - Bulk operations for the Tomba.io API

SYNOPSIS

use Tomba::Bulk;

my $tomba = Tomba::Bulk->new("ta_xxxxx", "ts_xxxxx");
my $bulks = $tomba->ListBulks("finder");

DESCRIPTION

Manage bulk operations: list, get, launch, delete, archive, rename, progress, and download.

Type can be: search, finder, verifier, enrich, author, linkedin, company, phone-finder, phone-validator, similar.

ListBulks

my $data = $tomba->ListBulks("finder");
my $data = $tomba->ListBulks("verifier", { page => 1, limit => 10 });

Retrieve a list of bulk operations for the given type. Type can be: search, finder, verifier, enrich, author, linkedin, company, phone-finder, phone-validator, similar.

See https://docs.tomba.io/api/bulks

GetBulk

my $data = $tomba->GetBulk("finder", $bulk_id);

Retrieve details of a specific bulk operation.

See https://docs.tomba.io/api/bulks

LaunchBulk

my $data = $tomba->LaunchBulk("finder", $bulk_id);

Launch a bulk operation.

See https://docs.tomba.io/api/bulks

DeleteBulk

my $data = $tomba->DeleteBulk("finder", $bulk_id);

Delete a bulk operation.

See https://docs.tomba.io/api/bulks

ArchiveBulk

my $data = $tomba->ArchiveBulk("finder", $bulk_id);

Archive a bulk operation.

See https://docs.tomba.io/api/bulks

RenameBulk

my $data = $tomba->RenameBulk("finder", $bulk_id, "New Name");

Rename a bulk operation.

See https://docs.tomba.io/api/bulks

BulkProgress

my $data = $tomba->BulkProgress("finder", $bulk_id);

Get progress of a bulk operation.

See https://docs.tomba.io/api/bulks

BulkDownload

my $data = $tomba->BulkDownload("finder", $bulk_id);

Download results of a bulk operation.

See https://docs.tomba.io/api/bulks

AUTHOR

Mohamed Ben rebia, <b.mohamed@tomba.io>

COPYRIGHT AND LICENSE

Copyright 2023 Mohamed Benrebia <b.mohamed@tomba.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0