NAME

WWW::Hetzner::Robot - Perl client for Hetzner Robot API (Dedicated Servers)

VERSION

version 0.001

SYNOPSIS

use WWW::Hetzner::Robot;

my $robot = WWW::Hetzner::Robot->new(
    user     => $ENV{HETZNER_ROBOT_USER},
    password => $ENV{HETZNER_ROBOT_PASSWORD},
);

# List servers
my $servers = $robot->servers->list;

# Get server details
my $server = $robot->servers->get(123456);
print $server->name, "\n";
print $server->product, "\n";

# Reset server
$robot->reset->execute(123456, 'sw');  # software reset
$robot->reset->execute(123456, 'hw');  # hardware reset

# Manage SSH keys
my $keys = $robot->keys->list;
$robot->keys->create(
    name => 'my-key',
    data => 'ssh-ed25519 AAAA...',
);

DESCRIPTION

This module provides access to the Hetzner Robot API for managing dedicated servers, IPs, SSH keys, and server resets.

Uses HTTP Basic Auth (user/password) instead of Bearer tokens.

NAME

WWW::Hetzner::Robot - Perl client for Hetzner Robot API (Dedicated Servers)

RESOURCES

  • servers - Dedicated server management

  • keys - SSH key management

  • ips - IP address management

  • reset - Server reset (software/hardware)

  • traffic - Traffic statistics

ENVIRONMENT

  • HETZNER_ROBOT_USER - Robot webservice username

  • HETZNER_ROBOT_PASSWORD - Robot webservice password

SEE ALSO

WWW::Hetzner, https://robot.hetzner.com/doc/webservice/en.html

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.