NAME
WWW::Hetzner::Robot::API::Servers - Hetzner Robot Servers API
VERSION
version 0.001
SYNOPSIS
my $robot = WWW::Hetzner::Robot->new(...);
# List all servers
my $servers = $robot->servers->list;
for my $server (@$servers) {
printf "%s: %s (%s)\n",
$server->server_number,
$server->server_name,
$server->server_ip;
}
# Get specific server
my $server = $robot->servers->get(123456);
# Update server name
$robot->servers->update(123456, server_name => 'new-name');
NAME
WWW::Hetzner::Robot::API::Servers - Hetzner Robot Servers API
METHODS
list
my $servers = $robot->servers->list;
Returns arrayref of WWW::Hetzner::Robot::Server objects.
get
my $server = $robot->servers->get($server_number);
Returns WWW::Hetzner::Robot::Server object.
update
my $server = $robot->servers->update($server_number, server_name => 'new-name');
Updates server and returns WWW::Hetzner::Robot::Server object.
SUPPORT
Source Code
The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)
https://github.com/Getty/p5-www-hetzner
git clone https://github.com/Getty/p5-www-hetzner.git
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.