API::PleskExpand

OOP interface to the Plesk Expand XML API
Download

API::PleskExpand Ranking & Summary

Advertisement

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

API::PleskExpand Tags


API::PleskExpand Description

OOP interface to the Plesk Expand XML API API::PleskExpand is a Perl module that provides interaction with Plesk Expand 2.2.4 (API 2.2.4.1). Complete support of operations with Accounts, partial support of work with domains. Support of addition of domains to user Accounts.API::PleskExpand 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/PleskExpand/Accounts.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::PleskExpand; use API::Plesk::Response; my $expand_client = API::PleskExpand->new(%params); my $res = $expand_client->Func_Module->operation_type(%params); if ($res->is_success) { $res->get_data; # return arr ref of answer blocks } Requirements: · Perl


API::PleskExpand Related Software