The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Gandi - A perl interface to the Gandi XMLRPC API

new Creates a new instance of Net::Gandi

Parameters:

  • apikey

    (Required) Api key of your account.

  • apiurl

    Specified a url. The default value is current api version

  • useragent

    Specified a useragent. The default value is Net::Gandi with the version.

  • date_object

    Boolean to transform the string date in a perl date object. Use Class::Date.

err

Returns the numeric code of last error.

    my $err_code = $gandi->err;

errstr

Returns the human readable text for last error.

    my $err_description = gandi->errstr

cast_value

Force XMLRPC data types, to use before calls when using booleans for example.

SYNOPSIS

    use Net::Gandi;

    my $vm = Net::Gandi::Hosting::VM->new(apikey => 'myapikey', id => 42);

    my $vm_info = $vm->info;

DESCRIPTION

This module provides a Perl interface to the Gandi API. See http://rpc.gandi.net for a full description of the Gandi API. For the moment, the API is in beta. You can ask for a key via email. The interface can be changed.

AUTHOR

Natal Ngétal, <hobbestig@cpan.org>

CONTRIBUTING

This module is developed on Github at:

http://github.com/hobbestigrou/Net-Gandi

Feel free to fork the repo and submit pull requests

ACKNOWLEDGEMENTS

Franck Cuny and Michael Scherer for fix typo. Gandi for this API

BUGS

Please report any bugs or feature requests in github.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::Gandi

LICENSE AND COPYRIGHT

Copyright 2010 Natal Ngétal.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

SEE ALSO

Moose XMLRPC::Lite http://rpc.gandi.net