perl-WWW-Datafinder-0.03-alt1.noarch.rpm


Advertisement

Description

perl-WWW-Datafinder - Perl API for Datafinder L<< http://datafinder.com >> API for marketing data append

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-WWW-Datafinder
Package version 0.03
Package release alt1
Package architecture noarch
Package type rpm
Installed size 45.71 KB
Download size 45.71 KB
Official Mirror ftp.altlinux.org
use WWW::Datafinder;
use Text::CSV_XS;
use Data::Dumper;
my $csv = Text::CSV_XS->new;
my $df  = WWW::Datafinder->new( {
api_key    => '456', # place real API key here
cache_dir  => '/var/tmp/datafinder',
cache_time => 3600 * 24 * 14
}) or die 'Cannot create Datafinder object';
while(<>) {
chomp;
my $status = $csv->parse($_);
unless ($status) {
warn qq{Cannot parse '$_':}.$csv->error_diag();
next;
}
my ($name, $surname, $addr, $city, $state, $zip) = $csv->fields();
my $data = {
d_first    => $name,
d_last     => $surname,
d_fulladdr => $addr,
d_city     => $city,
d_state    => $state,
d_zip      => $zip
};
my $res = $df->append_email($data);
if ($res) {
if ( $res->{'num-results'} ) {
print "Got a match for $name $surname: " . Dumper( $res->{results} );
}
}
}

Alternatives

Package Version Architecture Repository
perl-WWW-Datafinder - - -

Requires

Name Value
/usr/share/perl5 -
perl(Config/IniFiles.pm) -
perl(Data/Dumper.pm) -
perl(DateTime/Format/ISO8601.pm) -
perl(Digest/MD5.pm) -
perl(Encode.pm) -
perl(File/Path.pm) -
perl(File/Spec/Functions.pm) -
perl(Getopt/Long.pm) -
perl(JSON/XS.pm) -
perl(MCE.pm) -
perl(Mouse.pm) -
perl(POSIX.pm) -
perl(PerlIO.pm) -
perl(PerlIO/encoding.pm) -
perl(REST/Client.pm) -
perl(Readonly.pm) -
perl(Scalar/Util.pm) -
perl(Search/Elasticsearch.pm) -
perl(Storable.pm) -
perl(Text/CSV_XS.pm) -
perl(Try/Tiny.pm) -
perl(URI.pm) -
perl(lib.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(WWW/Datafinder.pm) = 0.030
perl(WWW/append-email.pl) -
perl(WWW/convert-cache.pl) -
perl(WWW/z.pl) -
perl(WWW/zzzz.pl) -
perl-WWW-Datafinder = 0.03-alt1

Download

Type URL
Binary Package perl-WWW-Datafinder-0.03-alt1.noarch.rpm
Source Package perl-WWW-Datafinder-0.03-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-WWW-Datafinder rpm package:
    # sudo apt-get install perl-WWW-Datafinder

Files

Path
/usr/share/doc/perl-WWW-Datafinder-0.03/LICENSE
/usr/share/doc/perl-WWW-Datafinder-0.03/README
/usr/share/doc/perl-WWW-Datafinder-0.03/README.md
/usr/share/perl5/WWW/Datafinder.pm
/usr/share/perl5/WWW/append-email.pl
/usr/share/perl5/WWW/convert-cache.pl
/usr/share/perl5/WWW/z.pl
/usr/share/perl5/WWW/zzzz.pl

See Also

Package Description
perl-WWW-DaysOfWonder-Memoir44-3.000-alt1.noarch.rpm download & manage memoir44 scenarios from official website
perl-WWW-DaysOfWonder-Memoir44-scripts-3.000-alt1.noarch.rpm WWW-DaysOfWonder-Memoir44 scripts
perl-WWW-Deezer-0.02-alt1.noarch.rpm perl module WWW-Deezer
perl-WWW-Delicious-Simple-0.02-alt1.noarch.rpm Simple interface to the Delicious API
perl-WWW-Desk-0.10-alt1.noarch.rpm Desk.com perl API
perl-WWW-Deutschepost-Detail-0.2-alt1.noarch.rpm perl module WWW-Deutschepost-Detail
perl-WWW-Dict-0.0.1-alt1.noarch.rpm Base class for WWW::Dict::* modules
perl-WWW-Dict-Leo-Org-2.02-alt1.noarch.rpm Interface module to dictionary dict.leo.org
perl-WWW-Dict-Leo-Org-scripts-2.02-alt1.noarch.rpm WWW-Dict-Leo-Org scripts
perl-WWW-Dict-TWMOE-Phrase-0.05-alt1.noarch.rpm TWMOE Chinese Phrase Dictionary interface
perl-WWW-Dict-TWMOE-Phrase-scripts-0.05-alt1.noarch.rpm WWW-Dict-TWMOE-Phrase scripts
perl-WWW-Dict-Zdic-0.0.4-alt1.noarch.rpm Zdic Chinese Dictionary interface
perl-WWW-Dict-Zdic-scripts-0.0.4-alt1.noarch.rpm WWW-Dict-Zdic scripts
perl-WWW-Dictionary-0.01-alt1.noarch.rpm Interface with www.dictionary.com
perl-WWW-Dictionary-scripts-0.01-alt1.noarch.rpm WWW-Dictionary scripts
Advertisement
Advertisement