cPanel API PHP
Budget: $30 – $250 USD
Hi,
I have a number of API integrations with cPanel / WHM I need creating.
For my first one, it's fairly simple, I would simply just like a PHP page creating which lists all suspended cPanel accounts https://api.docs.cpanel.net/openapi/whm/operation/listsuspended/
It just needs to be a simple list, it doesn't need any styling, with the Username, reason, and time side by side for each user, then on each new line it will list the next suspended details.
It should be able to pull the data from multiple cPanel servers. So maybe just multiple lists, one for each cPanel server. So just duplicating the exact same thing you did the first time, but on the same page. This should be easy to do I'm guessing as it's just duplicating the first part?
The second thing is next to each suspended account, there should be a button / link that calls a bash script on the server, (it's a backup script), but it should use the outputted username of the suspended account after it, so for example the command would be /scripts/pkgacct username.
Thanks.
I have a number of API integrations with cPanel / WHM I need creating.
For my first one, it's fairly simple, I would simply just like a PHP page creating which lists all suspended cPanel accounts https://api.docs.cpanel.net/openapi/whm/operation/listsuspended/
It just needs to be a simple list, it doesn't need any styling, with the Username, reason, and time side by side for each user, then on each new line it will list the next suspended details.
It should be able to pull the data from multiple cPanel servers. So maybe just multiple lists, one for each cPanel server. So just duplicating the exact same thing you did the first time, but on the same page. This should be easy to do I'm guessing as it's just duplicating the first part?
The second thing is next to each suspended account, there should be a button / link that calls a bash script on the server, (it's a backup script), but it should use the outputted username of the suspended account after it, so for example the command would be /scripts/pkgacct username.
Thanks.