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!

Use api calls to retrieve server informations

Discussion in 'cPanel Developers' started by sdglhm, Mar 3, 2014.

  1. sdglhm

    sdglhm Registered

    Joined:
    Mar 3, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi forum members,

    I was trying to get my server informations using php and api calls. But I couldn't process it correctly. Can anyone post a sample code to get my server informations using php and api1. I'm still a newbie to the cPanel and WHM api's.

    Thanks in advance
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,628
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on the specific information you are attempting to obtain through the cPanel API?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sdglhm

    sdglhm Registered

    Joined:
    Mar 3, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    @cPanelMichael,

    First I would like to thank your response. I need to show my clients what is my server load, HDD spaces and other information regarding the server.

    Thanks in advance
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,628
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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