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 Implementations

Discussion in 'cPanel Developers' started by CanadaGuy, Sep 28, 2018.

  1. CanadaGuy

    CanadaGuy Active Member

    Joined:
    Sep 24, 2018
    Messages:
    33
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    Ottawa
    cPanel Access Level:
    Root Administrator
    Hi, I'm trying to navigate the various API implementations without much luck. Is there a preferred one in terms of what will be "best" supported moving forward for PHP development? I see the JSON API and LiveAPI with uapi, api 2, etc. Which should I choose for current developments?
     
    #1 CanadaGuy, Sep 28, 2018
    Last edited: Sep 28, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @CanadaGuy

    I believe the best course of action for the long run would be JSON API. But in regard for Current Developments I would suggest working with the one that suits your needs the best. In terms of which API to use I would suggest using anything UAPI first, if no equivalent then cpapi2 then cpapi1
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. CanadaGuy

    CanadaGuy Active Member

    Joined:
    Sep 24, 2018
    Messages:
    33
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    Ottawa
    cPanel Access Level:
    Root Administrator
    Why is UAPI so sparsely populated, yet released? It seems it would make code diffuculd to fill if constantly switching between the API with the function you need implemented.
     

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