This is a Python script that allows you to manage servers and IP addresses using the Hetzner Cloud API. It provides various functionalities such as retrieving servers and IP addresses, deleting IP addresses, creating IP addresses, assigning IP addresses to servers, and turning on servers.
- Python 3.9 or higher
hcloud-python
library
-
Clone the repository:
git clone https://github.com/TestCoper/hetzner-api.git
-
Install the required dependencies:
pip install hcloud
1- Replace the token value in the script with your Hetzner Cloud API token.
2- Run the script:
python3 script.py
3- Follow the on-screen instructions to interact with the script and perform various actions such as managing servers and IP addresses.
This project is licensed under the MIT License.