Results 1 to 3 of 3

Thread: xml-api bandwidth

  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    74

    Default xml-api bandwidth

    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. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    570

    Default re: xml-api bandwidth

    Hi hbidad

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

    Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Requests

  3. #3
    pak
    pak is offline
    Member
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    22

    Default Re: xml-api bandwidth

    Have look at XML-API
    XML and JSON APIs
    FMEOS.PK: Affordable & Reliable web Hosting with cheap domain registration.
    Web Hosting Pakistan | Domain Registration Pakistan

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2010, 06:17 AM
  2. Replies: 3
    Last Post: 10-22-2009, 10:40 AM
  3. Bandwidth in XML API
    By Andrewcp in forum cPanel Developers
    Replies: 11
    Last Post: 05-29-2009, 09:36 AM
  4. XML-API is any of these possible?
    By neo4242002 in forum cPanel Developers
    Replies: 3
    Last Post: 03-17-2008, 01:46 PM
  5. XML API: always get login screen, not XML
    By sldff3ald in forum cPanel Developers
    Replies: 3
    Last Post: 09-19-2007, 09:29 AM