NAME

Net::Gandi - A Perl interface for gandi api

VERSION

version 1.122180

SYNOPSIS

    use Net::Gandi;

    my $client  = Net::Gandi->new( apikey => 'myapikey', date_to_datetime => 1 );
    my $hosting = $client->hosting;
    my $vm      = $hosting->vm( id => 42 );
    my $vm_info = $vm->info;

DESCRIPTION

This module provides a Perl interface to the Gandi API. See http://rpc.gandi.net

METHODS

hosting

  my $client  = Net::Gandi->new(apikey => 'api_key');
  my $hosting = $client->hosting;

Initialize the hosting environnement, and return an object representing it.

  input: none
  output: A Net::Gandi::Hosting object

domain

  my $client  = Net::Gandi->new(apikey => 'api_key');
  my $cdomain = $client->domain;

Initialize the domain environnement, and return an object representing it.

  input: id (Int) : optional, domain name
  output: Net::Gandi::Domain

operation

  my $client  = Net::Gandi->new(apikey => 'api_key');
  my $operation = $client->operation;

Initialize the operation environnement, and return an object representing it.

  input: id (Int) : optional, id of operation
  output: A Net::Gandi::Hosting::Operation object

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

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

SEE ALSO

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

AUTHOR

Natal Ngétal

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Natal Ngétal.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.