Jump to content

cPanel API


Bailey

Recommended Posts

The API likely has very limited use to normal users, and while I don't believe we intentionally block it, we do discourage its use.

 

The last time I played with it (trying to create databases programmatically), there was no good way for non-admins to get the required tokens.

Link to comment
Share on other sites

It doesn't matter whether it's Linux or not but I'm recreating the HelioPanel/HelioMobile because I think it's genuinely useful... it would work on desktop aswell.

 

For this I need the API, the old one (v1) looked like it used the Area51/52 but they don't exist anymore, or atleast not fully.

Link to comment
Share on other sites

(The linux thing was kinda intended as a joke. Because cpanel only supports linux.)

 

Does it really require the old API? Or does it need the cPanel API v2? (v2 is supported by cpanel 64)

Edited by ziad0
Link to comment
Share on other sites

I actually have the source for the original HelioPanel (it lived on a former root admin's account on Stevie back when he wasn't an ESX box)...I found it when I downloaded his backup to restore a bunch of other stuff that broke during the Stevie crash.

 

The options seen when you sign into https://heliohost.org/login/ are the same choices HelioPanel gave you (or in fact, there's actually more on the new one). The HelioHost tools page is basically HelioPanel v2...it was meant to consolidate the various scripts we had laying around on the classic site...of course we still use the domain and delete script to this day...).

Link to comment
Share on other sites

Why are you trying to reinvent the wheel? A better way to do this would be to build a theme for cPanel (which is a pain in the rear, and would also require you have a local cPanel server to test on...cPanel is not cheap, even for a development license).

 

Also, the original HelioPanel didn't use the cPanel API. It used cURL to automate the user interface for the one or two things it did.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...