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

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

Provides

  • 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

    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

    • /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
    Advertisement
    Advertisement