perl-API-ISPManager-0.07-alt1.noarch.rpm


Advertisement

Description

perl-API-ISPManager - interface to the ISPManager Hosting Panel API ( http://ispsystem.com )

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-API-ISPManager
Package version 0.07
Package release alt1
Package architecture noarch
Package type rpm
Installed size 47.64 KB
Download size 47.64 KB
Official Mirror ftp.altlinux.org
use API::ISPManager;
my $connection_params = {
username => 'username',
password => 'qwerty',
host     => '11.22.33.44',
path     => 'manager',
};
my $ip_list = API::ISPManager::ip::list( $connection_params );
unless ($ip_list && ref $ip_list eq 'ARRAY' && scalar @$ip_list) {
die 'Cannot get ip list from ISP';
}
my $ip  = $ip_list->[0];
my $dname  = 'perlaround.ru';
my $client_creation_result = API::ISPManager::user::create( {
%{ $connection_params },
name      => 'user_login',
passwd    => 'user_password',
ip        => '11.11.22.33',
preset    => 'template_name',
domain    => $dname,
});
my $suspend_result = API::ISPManager::user::disable( {
%{ $connection_params },
elid => $use_login,
} );
unless ( $suspend_result ) {
die "Cannot  suspend account";
}
my $resume_result = API::ISPManager::user::enable( {
%{ $connection_params },
elid => $user_login,
} );
unless ( $resume_result ) {
die "Cannot  suspend account";
}
my $delete_result = API::ISPManager::user::delete( {
%{ $connection_params },
elid => $login,
} );
unless ( $delete_result ) {
die "Cannot delete account";
}

Alternatives

Package Version Architecture Repository
perl-API-ISPManager - - -

Requires

Name Value
/usr/bin/perl -
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Exporter/Lite.pm) -
perl(Getopt/Long.pm) -
perl(HTTP/Cookies.pm) -
perl(LWP/UserAgent.pm) -
perl(WWW/Mechanize.pm) -
perl(XML/Simple.pm) -
perl(lib.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(API/ISPManager.pm) = 0.070
perl(API/ISPManager/backup.pm) -
perl(API/ISPManager/db.pm) -
perl(API/ISPManager/diskpreset.pm) -
perl(API/ISPManager/dns.pm) -
perl(API/ISPManager/domain.pm) -
perl(API/ISPManager/file.pm) -
perl(API/ISPManager/ftp.pm) -
perl(API/ISPManager/ip.pm) -
perl(API/ISPManager/mailbox.pm) -
perl(API/ISPManager/misc.pm) -
perl(API/ISPManager/order.pm) -
perl(API/ISPManager/preset.pm) -
perl(API/ISPManager/services.pm) -
perl(API/ISPManager/software.pm) -
perl(API/ISPManager/stat.pm) -
perl(API/ISPManager/user.pm) -
perl(API/ISPManager/vds.pm) -
perl(API/ISPManager/vdspreset.pm) -
perl(API/add_database.pl) -
perl(API/add_mailbox.pl) -
perl(API/add_www_domain.pl) -
perl(API/upload_file.pl) -
perl(API/vdsmanager.pl) -
perl-API-ISPManager = 0.07-alt1

Download

Type URL
Binary Package perl-API-ISPManager-0.07-alt1.noarch.rpm
Source Package perl-API-ISPManager-0.07-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-API-ISPManager rpm package:
    # sudo apt-get install perl-API-ISPManager

Files

Path
/usr/share/doc/perl-API-ISPManager-0.07/Changes
/usr/share/doc/perl-API-ISPManager-0.07/README
/usr/share/perl5/API/ISPManager.pm
/usr/share/perl5/API/add_database.pl
/usr/share/perl5/API/add_mailbox.pl
/usr/share/perl5/API/add_www_domain.pl
/usr/share/perl5/API/upload_file.pl
/usr/share/perl5/API/vdsmanager.pl
/usr/share/perl5/API/ISPManager/backup.pm
/usr/share/perl5/API/ISPManager/db.pm
/usr/share/perl5/API/ISPManager/diskpreset.pm
/usr/share/perl5/API/ISPManager/dns.pm
/usr/share/perl5/API/ISPManager/domain.pm
/usr/share/perl5/API/ISPManager/file.pm
/usr/share/perl5/API/ISPManager/ftp.pm
/usr/share/perl5/API/ISPManager/ip.pm
/usr/share/perl5/API/ISPManager/mailbox.pm
/usr/share/perl5/API/ISPManager/misc.pm
/usr/share/perl5/API/ISPManager/order.pm
/usr/share/perl5/API/ISPManager/preset.pm
/usr/share/perl5/API/ISPManager/services.pm
/usr/share/perl5/API/ISPManager/software.pm
/usr/share/perl5/API/ISPManager/stat.pm
/usr/share/perl5/API/ISPManager/user.pm
/usr/share/perl5/API/ISPManager/vds.pm
/usr/share/perl5/API/ISPManager/vdspreset.pm

See Also

Package Description
perl-API-ISPManager-scripts-0.07-alt1.noarch.rpm API-ISPManager scripts
perl-API-Instagram-0.013-alt1.noarch.rpm Object Oriented Interface for the Instagram REST and Search APIs
perl-API-McBain-0.1-alt1.noarch.rpm Framework for building auto-validating, self-documenting APIs
perl-API-McBain-scripts-0.1-alt1.noarch.rpm API-McBain scripts
perl-API-Medium-0.900-alt1.noarch.rpm Talk with medium.com using their REST API
perl-API-MikroTik-0.24-alt1.noarch.rpm Non-blocking MikroTik API interface
perl-API-Name-0.06-alt1.noarch.rpm perl module API-Name
perl-API-ParallelsWPB-0.03-alt1.noarch.rpm client for Parallels Presence Builder API
perl-API-Plesk-2.03-alt1.noarch.rpm OO interface to the Plesk XML API (http://www.parallels.com/en/products/plesk/)
perl-API-PureStorage-0.03-alt1.noarch.rpm API Wrapper for Pure Storage devices
perl-API-Stripe-0.07-alt1.noarch.rpm perl module API-Stripe
perl-API-Trello-0.06-alt1.noarch.rpm perl module API-Trello
perl-API-Twitter-0.05-alt1.noarch.rpm perl module API-Twitter
perl-API-Wunderlist-0.06-alt1.noarch.rpm perl module API-Wunderlist
perl-API-Zendesk-0.019-alt1.noarch.rpm API interface to Zendesk
Advertisement
Advertisement