Group
Extension

Matches 1

WWW-Shodan-API ( D/DA/DADAMS/WWW-Shodan-API-0.013.tar.gz, DADAMS, 2020; MetaCPAN )
WWW-Shodan-API/lib/WWW/Shodan/API.pm ( view source; MetaCPAN )
API;

use 5.006;
use strict;
use warnings FATAL => 'all';

our $VERSION = '0.013';

use Carp;
use JSON;
use LWP::UserAgent;
use URI::Escape;

use constant BASE_URL          => 'https://api.shodan.io';
 my $ua = LWP::UserAgent->new;
    my $json = JSON->new->allow_nonref;

    my $self = {
        APIKEY => $apikey,
        UA     => $ua,
        JSON   => $json,
    };
    bless $self, $class;
    
 $self;
}

sub _ua {
    my $self = shift;
    return $self->{UA};
}

sub _json {
    my $self =shift;
    return $self->{JSON};
}

sub _request {
    my ($self, $endpoint) = @_;
    my $response = $s

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.