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.

Gathering all data from an account/server

Discussion in 'cPanel Developers' started by lhassingw, Nov 24, 2010.

  1. lhassingw

    lhassingw Registered

    Joined:
    Nov 24, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Having trouble searching for this as most words are pretty generic, but

    Is there an API call that will dump every thing about an account?

    Say, a regular user, or even better, a reseller user, or root?

    I'd guess the cpanel export feature has to gather all this information for exporting, but is there a api call or something that can be done to gather this information?

    mailboxes
    domain(s)
    ssl certs?
    stats program used
    subdomains?
    mysql db's?
    postgres db's?
    users
    ftpusers
    frontpage used?
    cronjobs?


    Gathering specific stats is the goal.
     
  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 lhassingw,

    You'll want to take a look at the API2 call Statsbar::stat. There should be several forum posts with details about it, but I'd be happy to clarify if needed.

    Regards,
    -DavidN
     
Loading...

Share This Page