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


Advertisement

Description

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

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

Provides

  • 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

    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

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