The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    8
    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:
    1
    Trophy Points:
    18
    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
     
  3. pak

    pak Member

    Joined:
    Mar 26, 2011
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
Loading...

Share This Page