Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

xml-api bandwidth

Discussion in 'cPanel Developers' started by hbidad, Apr 2, 2011.

  1. hbidad

    hbidad Well-Known Member

    Joined:
    Apr 16, 2005
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    158
    Hello,

    I was having a look through the docs and I haven't been able to locate a bandwidthlimit/usage call. One would think it would be part of 'accountsummary', but it's not. It's also not included in 'listaccts'. It seems this is only given if the account is owned by a reseller? Otherwise a raw parsing of 'showbw' is required? Am I missing it?
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi hbidad

    The API2 Statsbar::stat can show bandwidth usage. API2 calls can be made through the XML-API.

    Regards,
    -DavidN
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. pak

    pak Member

    Joined:
    Mar 26, 2011
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Pakistan
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice