Paul Miller

Registered
Feb 27, 2019
1
0
1
UK
cPanel Access Level
Root Administrator
Hello,

Does anyone have any experience with extending cPanel's UAPI via modules in a language different than perl? I've checked the docs, and they state that the supported languages are Perl and PHP, but I've only seen examples in perl, with no indication of alternatives.

Ultimately, I'd like to be able to create a custom module in python that would export functionality through the UAPI access points. Any pointers/code snippets?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello Paul,

We don't provide any official Python examples, but here are some third-party examples you may find helpful (they demonstrate cPanel API 2 usage with Python, but it should give you a general idea of what you'd need to do to make it work with UAPI):

Build software better, together
oznu/pycpanel

Thank you.