cPanel API 2 Modules - Stats
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Stats
module retrieves a domain's statistics and bandwidth information.
Important:
When you enable a non-Standard Node server profile, the system disables API calls associated with that profile's disabled roles.
Available functions
-
cPanel API 2 Functions -
Stats::getmonthlybandwidth
— This function displays a domain's monthly bandwidth statistics. -
cPanel API 2 Functions -
Stats::getmonthlydomainbandwidth
— This function displays a domain's bandwidth usage data by month. -
cPanel API 2 Functions -
Stats::getthismonthsbwusage
— This function displays a domain's bandwidth usage for the current month. -
cPanel API 2 Functions -
Stats::lastapachehits
— This function retrieves the Apache log file's most recent hits to a domain. -
cPanel API 2 Functions -
Stats::lastvisitors
— This function retrieves a domain's last visitors. -
cPanel API 2 Functions -
Stats::listanalog
— This function displays the domains that have Analog available. -
cPanel API 2 Functions -
Stats::listawstats
— This function displays domains that have AWStats web statistics available. -
cPanel API 2 Functions -
Stats::listlastvisitors
— This function displays the domains that have that have last visitors information available. -
cPanel API 2 Functions -
Stats::listrawlogs
— This function displays the domains that have raw log downloads available. -
cPanel API 2 Functions -
Stats::listwebalizer
— This function displays domains that have Webalizer statistics available.