Robot interfaces

Last change on 2022-09-21 • Created on 2020-03-25 • ID: RO-4C6D9

Introduction

You can configure Hetzner Robot manually via the browser, or automatically via the Webservice interface.

Programming languages

Modules for common script languages and programminglanguages are available for communicating with Robot.

PHP

On Hetzner Robot API docs, we provide a simple PHP script.

Perl

Stefan Tomanek created the Perl module Hetzner::Robot, which provides a object-oriented interface for the Webservice. Right now, all exported Robot operations are supported:

  • Server reset
  • Reverse DNS management
  • Rescue-System
  • Wake-On-LAN
  • VNC/Windows/Plesk installation
  • Failover-Net control

The package provides the Perl classes you can use in your own scripts, alongside the finished program hetzner-robot.pl, which you can use to give direct orders to Robot:

  • Server reset
  • Show/set/delete Reverse DNS entries
  • RDNS batch configuration
  • Rerouting a failover address
  • Activating the Rescue-System
  • Triggering the WOL signal

Python

You can find an interface for Python on github.

Ruby

You can also find an interface for Ruby on github.

Table of Contents