NAME
    API::Plesk - OO interface to the Plesk XML API
    (http://www.parallels.com/en/products/plesk/).

SYNOPSIS
        use API::Plesk;

        my $api = API::Plesk->new(
            username    => 'user', # required
            password    => 'pass', # required
            url         => 'https://127.0.0.1:8443/enterprise/control/agent.php', # required
            api_version => '1.6.3.1',
            debug       => 0,
            timeout     => 30,
        );

        my $res = $api->customer->get();

        if ($res->is_success) {
            for ( @{$res->data} ) {
                print "login: $_->{login}\n";
            }
        }
        else {
            print $res->error;
        }

DESCRIPTION
    At present the module provides interaction with Plesk 10.1 (API
    1.6.3.1). Distribution was completely rewritten and become more friendly
    for developers. Naming of packages and methods become similar to the
    same operators and operations of Plesk XML API.

    Partially implemented:

    Api::Plesk::Customer

    Api::Plesk::Webspace

    Api::Plesk::ServicePlan

    Api::Plesk::ServicePlanAddon

    Api::Plesk::Site

    Api::Plesk::Database

COMPATIBILITY WITH VERSION 1.*
    This is develover release. Comapatibility with Plesk::API 1.* is not
    implemented yet.

INSTALLATION
    To install this module type the following:

    perl Makefile.PL
    make
    make test
    make install


AUTHOR
    Odintsov Pavel <nrg[at]cpan.org>
    Nikolay Shulyakovskiy <shulyakovskiy[at]rambler.ru>
    Ivan Sokolov <ivsokolov[at]cpan.org>

COPYRIGHT AND LICENSE
    Copyright (C) 2008 by Ivan Sokolov

    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself, either Perl version 5.8.8 or, at
    your option, any later version of Perl 5 you may have available.

