Need to remotely create a few accounts via an XML API, in my research this sounds relatively straightforward and simple.
I would give the script in a bunch of data, and it would remotely connect to WHM and output a bunch of cpanel accounts. This script is not meant for reseller hosting etc.
Your script would accept
1) the url for WHM (e.g [login to view URL])
2) the WHM Remote Key (so it could login and authenticate)
3) 30-60 domains names in a text box.
4) some settings for a cpanel package (e.g. number of databases, max diskspace, quota on bandwidth) to use with each
FYI: A "package" as used in this document is a named configured allocation of db's, bandwidth, disk storage.
The script would then
1) create a new package named "EQUAL" with the db/files/bandwidth limits of the account split/number of IP's (e.g if there was 3000MB of storage, divided across 30 servers there would be 300MB for each server)
2) edit the default account and reassign it to that new package.
3) for each domain create a new account, with that "EQUAL" package
4) assign the domain to it.
5) assign one of the IP's from the available pool
email me back the log of events, and the appropriate login information.
This can be done via the XML API that controls OR a plugin for WHM
Documentatino is here
[login to view URL]
An existing PHP library can be found here
[login to view URL]
Help can be found here:
You'd need to login using the Api Authentication
[login to view URL]
[login to view URL]
[login to view URL]
or searching google like site:[login to view URL] whm script
IN particular there is this script which appears to be free which can probably be extended/automated.
[login to view URL]