Use the SDK

This guide will show you how to programmatically use the 1&1 library to perform common management tasks also available through the 1&1 Control Panel. [...]  

Get the SDK

The 1&1 PHP SDK is a PHP library designed for interaction with the 1&1 Cloud platform over the Cloud Server REST API. [...]