Because I stoped to work with ISPManager, there won't be more upddates. You can use it as a example how to work with ispmanager from python interface, write your own and push it to github ;)
ISPManager is web server control panel. It allows you to manage your entire web-server through a user friendly and comprehensive multi-language web interface. With the click of a mouse you can manage users, hosting packages, mail boxes, databases and much more from one centralized location in a simple and intuitive way.
http://en.ispdoc.com/index.php/ISPmanager_API
from ispmgr import Auth
url = "https://example.com/manager/ispmgr"
username = "your-username"
password = "your-password"
auth = Auth(url, username, password)
#logout
auth.logout()
Use class WWWDomain.
from ispmgr import WWWDomain
www = WWWDomain(auth)
www.add(
domain='example.com',
owner='bigboss',
admin='webmaster@example.com.
ip='192.168.0.23')
# returns list of dicts
domains = www.list()
for domain in domains:
print domain['ip'], domain['name']
# list specific domain details
# returns dict
domain = www.list('example.com')
for key,value in domain.items():
print "%s: %s" % (key,value)
# delete some domains
www.delete(['example.com', 'google.com'])