Use the 1&1 Cloud Server Fog Library

Fog is an open-source, community Ruby library used for interacting with popular cloud infrastructure providers through a single, unified API. This guide will show you how to programmatically use the 1&1 provider in Fog to perform common management tasks available in the 1&1 Cloud Panel. [...]  

Get the 1&1 Cloud Server Fog Library

Fog is an open-source, community Ruby library used for interacting with popular cloud infrastructure providers through a single, unified API. The Fog library wraps the 1&1 REST API. All API operations are performed over SSL and authenticated using your 1&1 credentials. The API can be accessed within an instance running in 1&1 or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response. [...]