Net::Gandi - A Perl interface for gandi api
version 1.122180
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;
This module provides a Perl interface to the Gandi API. See http://rpc.gandi.net
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
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
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
This module is developed on Github at:
http://github.com/hobbestigrou/Net-Gandi
Feel free to fork the repo and submit pull requests
Gandi for this api.
Please report any bugs or feature requests in github.
You can find documentation for this module with the perldoc command.
perldoc Net::Gandi
Moose XMLRPC::Lite http://rpc.gandi.net
Natal Ngétal
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.
To install Net::Gandi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Gandi
CPAN shell
perl -MCPAN -e shell install Net::Gandi
For more information on module installation, please visit the detailed CPAN module installation guide.