diff options
Diffstat (limited to 'ovh/soapi/domainInfo')
-rwxr-xr-x | ovh/soapi/domainInfo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ovh/soapi/domainInfo b/ovh/soapi/domainInfo index e32262e1..35459d06 100755 --- a/ovh/soapi/domainInfo +++ b/ovh/soapi/domainInfo @@ -19,10 +19,11 @@ soap = WSDL.Proxy(wsdl) username = environ['KREBS_OVH_USER'] password = environ['KREBS_OVH_PASS'] +domain = environ.get('KREBS_OVH_DOMAIN','krebsco.de') session = soap.login(username, password, 'de', 0) -result = soap.domainInfo(session, 'krebsco.de') +result = soap.domainInfo(session, domain) print dumps(result, sort_keys=True, indent=2, default=default) soap.logout(session) |