Jump to content

Recommended Posts

Posted (edited)

Well on Tommy they use cpanel ver. 64.0.36

 

I do not have an account on the other servers so I don't know their version :(

 

If you go to Server Information then look for Cpanel version. 64.0 (build 36)

 

Image%2027.png

Operating System : Linux

CPANEL ONLY RUNS ON LINUX!

Edited by ziad0
Posted

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.

Posted (edited)

Upon doing further reading it appers the admins have to enable the api shell first : Cpanel Docs

 

edit : Ah nevermind, it mostly focuses on WHM which only root admins hold the password to...

It is the API for account management sorry...

Edited by ziad0
Posted

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.

Posted (edited)

(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
Posted

No, I wasn't talking about cPanel APIv1 I was on about HelioPanel v1 using area51/52 on Heliohost.

Posted

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...).

Posted

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.

Posted

Because it's not just gonna be for cPanel, it might include the forums API, if we update and will include the wiki.

Posted

And yeah I'm stuck between using cURL and the API but I think it would be easier, with what I want to do, to use the API

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...