SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-WebService-IPRental rpm build for : OpenSuSE. For other distributions click perl-WebService-IPRental.

Name : perl-WebService-IPRental
Version : 0.02 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.7.1 Date : 2023-01-27 17:30:47
Group : Development/Libraries/Perl Source RPM : perl-WebService-IPRental-0.02-lp154.7.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : IP Rental API
Description :
use WebService::IPRental;

my $ipr = WebService::IPRental->new(
APIkey => $APIkey,
APIpass => $APIpass,
Username => $Username,
Password => $Password,
TTL => 780, # optional
LOcation => 0, # optional
);

my $resp = $ipr->doIpLease();
if ($resp->{Response} == \'202\' or $resp->{Response} == \'203\') {
print \"Res: \" . $ipr->verboseReponseCode($resp->{Response}) . \"\
\";
print \"IP: \" . $ipr->verboseReponseCode($resp->{IP}) . \"\
\";
print \"Port: \" . $ipr->verboseReponseCode($resp->{Port}) . \"\
\";
print \"TTL: \" . $ipr->verboseReponseCode($resp->{TTL}) . \"\
\";


} else {
die \'Caught error: \' . $ipr->verboseReponseCode($resp->{Response});
}

/**
* ======== Response Codes are listed as so ========
*
* ---- Positive ------------------------------------
* 202 = Good, Fresh IP
* 203 = Good, Duplicate IP
*
* ---- Negative ------------------------------------
* 402 = Internal Error, Unable to serve IP
* 403 = Unknown User Authentication
* 404 = Unknown API Authentication
* 405 = 0 IP leases left in your pool
* 406 = Impermissible network type
*/

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-WebService-IPRental-0.02-lp154.7.1.noarch.rpm
     

Provides :
perl(WebService::IPRental)
perl-WebService-IPRental

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(SOAP::Lite)
perl(XML::Simple)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/WebService
/usr/lib/perl5/vendor_perl/5.26.1/WebService/IPRental.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-WebService-IPRental
/usr/share/doc/packages/perl-WebService-IPRental/Changes
/usr/share/doc/packages/perl-WebService-IPRental/LICENSE
/usr/share/doc/packages/perl-WebService-IPRental/README
/usr/share/doc/packages/perl-WebService-IPRental/examples
/usr/share/doc/packages/perl-WebService-IPRental/examples/test.pl
/usr/share/man/man3/WebService::IPRental.3pm.gz

 
ICM