
Originally Posted by
fpr
I need script to custumer see
Quota limit and in use
Bandwidth limit and in use
FTP Accounts limit and in use
mysql data base limit and in use
email accounts limit and in use
subdomain limit and in use
I would like someone send me some information about this.
how i get this info of cpanel.

Here's a URL to call from our XML API where username is the cPanel username:
Code:
https://SERVER:2083/xml-api/cpanel?user=username&xmlin=<cpanelaction><module>StatsBar</module><func>stat</func><apiversion>2</apiversion><args><display>diskusage|bandwidthusage|ftpaccounts|sqldatabases|emailac_counts|subdomains</display></args></cpanelaction>
You can find the content for <display>..</display> can be found in index.html within the Branding Editor.
You can substitute https and 2083 with http and 2082 if you desire.