Additional examples for other programming languages are available at https://github.com/plesk/api-examples.

To run a code on Unix, use the following command, for example, for a script in Python:

REMOTE_HOST=your-plesk-host.dom REMOTE_LOGIN=admin REMOTE_PASSWORD=password ./example.py

In this command, the REMOTE_* variables are environment variables.