Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 28 of 28
  1. #16
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by perlchild
    Any way you could add to the api things that aren't really done by cpanel for now? like adding ips etc..?
    I'm thinking such an api would be really helpful for automating larger transfers(a must if you are managing larger numbers of machines, and one or more needs to be deloaded on short notice)
    We also thought about the ips move problem people face and its covered inside the api. The api allows users to move all their domains under the shared ip (so they can remove old ips and load new ips). Once new ips have been loaded either using the api or whm you can move accounts to individual ips.

    Do let me know if you have something better in mind, we can surely work on it. The idea is to have an api which will try to cover almost all possible functions and help developers develop new applications/ scripts for cpanel/whm.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  2. #17
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Just so for everyone to know.

    The new api core has been completed. Its now much faster than the earlier version (the earlier version was released only to a few testing environments). We would be packaging the new api with examples and it should be up for distribution today itself.

    I will keep this thread posted.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  3. #18
    Member Edizon's Avatar
    Join Date
    Feb 2003
    Location
    AZ
    Posts
    90

    Default

    This may be in fact what I am looking for. Where can I get a free trial?
    "Life is like a box on cPanel Edge. You never know what your gonna get..."

  4. #19
    Member
    Join Date
    Sep 2002
    Posts
    282

    Default

    Quote Originally Posted by anand
    We also thought about the ips move problem people face and its covered inside the api. The api allows users to move all their domains under the shared ip (so they can remove old ips and load new ips). Once new ips have been loaded either using the api or whm you can move accounts to individual ips.

    Do let me know if you have something better in mind, we can surely work on it. The idea is to have an api which will try to cover almost all possible functions and help developers develop new applications/ scripts for cpanel/whm.
    What I had in mind was quite simple.
    I often have to move accounts between two boxes under the control of the same isp, both boxes have ips from the same router and pool.
    Having an api I can call that will take one ip on one box, and repopulate it on the other would be nice. Then I'll just need to automate the restore from cpmove, the change ip(there seems to be no way to make sure a restore from cpmove will pick up the old ip), and the killacct on the old box.
    I wonder if I shouldn't just ask cpanel for a cmd line add-ip, remove-ip pair of scripts. I bet that would cover my most basic need in the immediate term.
    I don't find your solution to be optimal since it involves a dns change, which can propagate(erroneously), and because I'm erasing the original account anyways, and what I want to automate is the ip transfer itself.
    Last edited by perlchild; 11-13-2004 at 12:38 AM.

  5. #20
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    The new and improved version of whmapi is out. The api is now available for anytime to download and take a 21 days free no obligation license.

    You can access information at http://whmapi.cpanelappz.com

    Please post any questions here / email to admin [AT] cpanelappz.com and we will try our best to solve them for you.

    The distribution comes with enough examples to make you understand the working of the API. More functions will be added in future and core engine will be improved further.

    Just open the package and read the readme.txt file to start.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  6. #21
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by Edizon
    This may be in fact what I am looking for. Where can I get a free trial?
    http://whmapi.cpanelappz.com -> Free License
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  7. #22
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by perlchild
    What I had in mind was quite simple.
    I often have to move accounts between two boxes under the control of the same isp, both boxes have ips from the same router and pool.
    Having an api I can call that will take one ip on one box, and repopulate it on the other would be nice. Then I'll just need to automate the restore from cpmove, the change ip(there seems to be no way to make sure a restore from cpmove will pick up the old ip), and the killacct on the old box.
    I wonder if I shouldn't just ask cpanel for a cmd line add-ip, remove-ip pair of scripts. I bet that would cover my most basic need in the immediate term.
    I don't find your solution to be optimal since it involves a dns change, which can propagate(erroneously), and because I'm erasing the original account anyways, and what I want to automate is the ip transfer itself.
    If you are moving ips across boxes why do you want to change the dns ?
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  8. #23
    Member
    Join Date
    Sep 2002
    Posts
    282

    Default

    Quote Originally Posted by anand
    If you are moving ips across boxes why do you want to change the dns ?
    Im am undoing the one cpanel does as part of the restore process(it automatically places the account on the shared ip)
    But if I had a way to automate giving the ip back as part of the "restore a tarball" function I'd be a happy camper

  9. #24
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by perlchild
    Im am undoing the one cpanel does as part of the restore process(it automatically places the account on the shared ip)
    But if I had a way to automate giving the ip back as part of the "restore a tarball" function I'd be a happy camper
    probably make a function which restores and then changes the ip ?
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  10. #25
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Support Forums are now up at http://forums.cpanelappz.com

    New WHMAPI released : http://forums.cpanelappz.com/index.php?showtopic=7

    Those who have already downloaded the trial pack, just login to the client area and download the package again.

    Don't forget to read the README, there is a little change, now there are 2 config files.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

  11. #26
    Member
    Join Date
    Sep 2002
    Posts
    282

    Default

    Quote Originally Posted by anand
    probably make a function which restores and then changes the ip ?
    Errr I thought I mentioned I wanted one of those, if not, I'm sorry.
    That's exactly why I need a change ip function, to change the ip "back"

  12. #27
    Member
    Join Date
    Jun 2004
    Posts
    9

    Default

    Does the API work on remote servers as well as local ones?
    Would I be able to control cPanel servers dispersed over the internet - based with different ISP's?


    Regards,

    Dasher

  13. #28
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by dasher
    Does the API work on remote servers as well as local ones?
    Would I be able to control cPanel servers dispersed over the internet - based with different ISP's?


    Regards,

    Dasher
    The servers can be located anywhere in the world with any number of isp's. The only thing that matters that the server should have cpanel installed and you need to feed the api with the servers access hash to which you want to connect.

    Let me know if you need more info, i would be glad to help.
    :: Anand ::

    ssh root@
    who the hell is root ???

    Cpanelappz Support Forums are up now. Register Today
    http://forums.cpanelappz.com

    WHM/cPanel API : http://whmapi.cpanelappz.com
    Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
    Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com

Similar Threads & Tags
Similar threads

  1. cpanel api from WHM
    By broncha in forum cPanel Developers
    Replies: 13
    Last Post: 07-20-2009, 04:59 PM
  2. WHM / cPanel API
    By paulipv in forum cPanel Developers
    Replies: 9
    Last Post: 07-09-2009, 03:30 PM
  3. cPanel/WHM API?
    By hb-travisbell in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-26-2006, 06:42 PM
  4. cPanel/WHM API help
    By webadpro in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-02-2006, 03:18 PM
  5. Cpanel/Whm API
    By farshad_s3 in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 09-17-2004, 01:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube