summaryrefslogtreecommitdiffstats
path: root/pykolab/wap_client/__init__.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-03 17:51:26 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-03 17:51:26 +0100
commit0b652a20ed2580a8e2d35339f68fdf3a27c4f3b6 (patch)
tree3e03ef15c2a2144303d0df42ee48d9948520e55b /pykolab/wap_client/__init__.py
parentbf6b66e1038231f65cb991e190b1ae4b79cc60f0 (diff)
downloadpykolab-0b652a20ed2580a8e2d35339f68fdf3a27c4f3b6.tar.gz
Bump pre-release
Diffstat (limited to 'pykolab/wap_client/__init__.py')
-rw-r--r--pykolab/wap_client/__init__.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pykolab/wap_client/__init__.py b/pykolab/wap_client/__init__.py
index 31cfb57..791ff43 100644
--- a/pykolab/wap_client/__init__.py
+++ b/pykolab/wap_client/__init__.py
@@ -7,10 +7,10 @@ sys.path.append('../..')
from pykolab import utils
-API_HOSTNAME = "admin.klab.cc"
+API_HOSTNAME = "localhost"
API_PORT = "80"
API_SCHEME = "http"
-API_BASE = "/~vanmeeuwen/kolab-wap/public_html/api"
+API_BASE = "/kolab-webadmin/api"
session_id = None
@@ -55,6 +55,9 @@ def domains_capabilities():
def domains_list():
return request('GET', 'domains.list')
+def domain_info(domain):
+ return request('GET', 'domain.info?domain=%s' % (domain))
+
def get_group_input():
group_types = group_types_list()