API::Plesk

OOP interface to the Plesk XML API
Download

API::Plesk Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Odintsov Pavel
  • Publisher web site:
  • http://search.cpan.org/~nrg/

API::Plesk Tags


API::Plesk Description

OOP interface to the Plesk XML API API::Plesk is a Perl module that provides interaction with Plesk 8.3.0 (API 1.5.0.0). Complete support of operations with Accounts, partial support of work with Templates (account and domains). Support of addition of domains to user Accounts.API::Plesk module gives the convenient interface for addition of new functions. Extensions represent modules in a folder Plesk with definitions of demanded functions. Each demanded operation is described by two functions: op and op_response_parse. The first sub generates XML query to Plesk, the second is responsible for parse XML answer and its representation in Perl Native Structures. As a template for a writing of own expansions is better to use API/Plesk/Account.pm. In module API::Plesk::Methods we can find service functions for a writing our extensions.For example, here the set of subs in the Accounts module is those. create / create_response_parse modify / modify_response_parse delete / delete_response_parse get / get_response_parseSYNOPSIS use API::Plesk; use API::Plesk::Response; my $plesk_client = API::Plesk->new(%params); my $res = $plesk_client->Func_Module->operation_type(%params); if ($res->is_success) { $res->get_data; # return arr ref of answer blocks } Requirements: · Perl


API::Plesk Related Software