I use this class for connect to my cPanel and it worked 2 days ago https://github.com/N1ghteyes/cpanel-UAPI-php-class/blob/master/cpaneluapi.class.php
But now it doesn't work Who can tell why it does not work?
I can't get any results at the moment
$cPanel = new cpanelAPI($this->cPusername, $this->cPpassword,
$this->cPhost);
$res = $cPanel->uapi->Mysql->locate_server();
$res - is empty now
Maybe because we can't use it now? https://documentation.cpanel.net/display/DD/Guide+to+cPanel+API+2