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!

API, Which One, Is this function here?

Discussion in 'cPanel Developers' started by mferry, Nov 20, 2014.

  1. mferry

    mferry Member

    Joined:
    Nov 25, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pittsburgh, PA USA
    cPanel Access Level:
    DataCenter Provider
    Folks,

    I have looked at the API /SDK documents before and did it again this morning.
    I am not familiar with the different types of WHM/cPanel APIs available.

    I need to write a PHP script that can obtain website stats for the previous month.
    Looking for disk usage, bandwidth, etc

    Can someone point me to the correct API type?
    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,396
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Re: API ? Which One ? Is this function here?

    Hello :)

    You may find the StatsBar function for cPanel API 2 helpful:

    cPanel API 2 - StatsBar

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

    mferry Member

    Joined:
    Nov 25, 2013
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pittsburgh, PA USA
    cPanel Access Level:
    DataCenter Provider
    Re: API ? Which One ? Is this function here?

    Thanks... I will take a look
     
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