Skip to main content

API Wrapper for LumaServ Domain API

Project description

LumaServ Systems Domain API

This wrapper is used for communication with the Lumaserv System Domain API. The API documentation can be found at https://docs.nicapi.eu/de/docs.

Implemented Features

  • Domains
    • Get domains
    • Get one domain
    • Get authcode
    • Check availability of domains
    • Order domain [WARNING: RUNS AN ORDER => PAYMENT]
    • Delete domain
    • Undelete domain
    • Update domain
    • Restore Domain
    • Get all available domain tlds
    • Get domain price list
    • Get domain price offers
  • Contacts/Handle
    • Get contacts/handles
    • Get one contact/handle
    • Get countries
    • Create contact/handle
    • Delete contact/handle
    • Update contact/handle
  • Nameserver
    • Get nameservers
    • Get one nameserver
    • Create nameserver
    • Delete nameserver
    • Update nameserver

Usage of Domains

Please note that you have to pass your API_TOKEN at every request.

from lumaserv_domain_api.domain import Domain

# DEFINE YOUR API KEY
apikey = "PutYourKeyHere"

#Constructor of Lumaserv Domains
domain = Domain(apikey)

# FETCH ALL DOMAINS ASSIGNED TO YOUR ACCOUNT
print(domain.get_domains(apikey))

# FETCH ONE DOMAIN
# PASS THE DOMAIN AS A STRING 
print(domain.get_domain(apikey, "domain.com")) 

# GET AUTH INFORMATION
# PASS THE DOMAIN AS A STRING
# YOUR REQEUST THE API TO GENERATE AN NEW AUTH-CODE
print(domain.get_auth_info(apikey, "domain.com"))

# GET THE AUTHCODE DIRECTLY
# PASS THE DOMAIN AS A STRING
print(domain.get_auth_code(apikey, "domain.com"))

# CHECK IF THE DOMAIN CAN BE REGISTERED OR IS TAKEN
print(domain.check_availability(apikey, "domain.com"))

# ORDER A NEW DOMAIN
# PLEASE NOTE: YOU HAVE TO CREATE A CONTACT/HANDLE first, so that you can pass them as domain contact!
print(domain.order_domain(apikey, "domain.com", "OWNER_CONTACT", "ADMIN_CONTACT", "TECH_CONTACT", "ZONE_CONTACT", "ns1.yourserver.com", "ns2.yourserver.com"))

For more examples and how to use this wrapper, check the folder /examples/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumaserv-domain-api-0.0.6.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumaserv_domain_api-0.0.6-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file lumaserv-domain-api-0.0.6.tar.gz.

File metadata

  • Download URL: lumaserv-domain-api-0.0.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for lumaserv-domain-api-0.0.6.tar.gz
Algorithm Hash digest
SHA256 62d42d4f100ca1ff108a7e540af1cf69bbf2c6fd8592e0661aeae45d9e909424
MD5 25f5613d44dbe024dd2b38b0bf31fa4c
BLAKE2b-256 a5a1a499ee5ea72f4439ee21e223c985c919ebd4c14c8febf228be107800922e

See more details on using hashes here.

File details

Details for the file lumaserv_domain_api-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: lumaserv_domain_api-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for lumaserv_domain_api-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac29a9f5ae3fb9b7b60fe8bda8f0e1ee6f8daf3d75e31b175ca57351462244d
MD5 7ee4b97dfcb45b4fd7a99dbbe59111ec
BLAKE2b-256 2b7cf9809c182cd5b35d440e6af3992a77ed2c735c33406271f27f833768a866

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page