Skip to main content

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/

Metadata

Release files for lumaserv-domain-api 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lumaserv-domain-api 0.0.8
File Size Uploaded Provenance Actions
lumaserv-domain-api-0.0.8.tar.gz 5.0 kB Without provenance Details for lumaserv-domain-api-0.0.8.tar.gz

Release files / lumaserv-domain-api-0.0.8.tar.gz

Download URL lumaserv-domain-api-0.0.8.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7ab0bb7c9dcb7391c30ebb5aa3137dc5025caa2ac81017061b5267acc0ae9302
BLAKE2b-256 checksum
How to use checksums
80df66f39feb6e72d17c712f7ee65868639cb7de361746948d521e87ac04d77a
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for lumaserv-domain-api 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page