Skip to main content

INWX Domrobot Python 3 Client

You can access all functions of our frontend via our API, which is available via the XML-RPC or JSON-RPC protocol and thus can be easily consumed with all programming languages.

There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OT&E system no actions will be charged. So you can test as much as you like there.

Documentation

You can view a detailed description of the API functions in our documentation. You can find the online documentation by clicking here.

If you still experience any kind of problems don't hesitate to contact our support via email.

Installation

The recommended way is via pip:

pip install inwx-domrobot

You can find more information about the package on pypi.org.

Example

from INWX.Domrobot import ApiClient

username = ''
password = ''
domain = 'my-test-domain-which-is-definitely-not-registered6737.com'

api_client = ApiClient(api_url=ApiClient.API_OTE_URL, debug_mode=True)

login_result = api_client.login(username, password)

if login_result['code'] == 1000:
    domain_check_result = api_client.call_api(api_method='domain.check', method_params={'domain': domain})

    if domain_check_result['code'] == 1000:
        checked_domain = domain_check_result['resData']['domain'][0]

        if checked_domain['avail']:
            print(domain + ' is still available!')
        else:
            print('Unfortunately, ' + domain + ' is already registered.')

    else:
        raise Exception('Api error while checking domain status. Code: ' + str(domain_check_result['code'])
                        + '  Message: ' + domain_check_result['msg'])
    api_client.logout()
else:
    raise Exception('Api login error. Code: ' + str(login_result['code']) + '  Message: ' + login_result['msg'])

You can also have a look at the example folder in the project for even more info.

License

MIT

Metadata

Release files for inwx-domrobot 3.2.0

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

Source distribution (sdist)

Source distribution for inwx-domrobot 3.2.0
File Size Uploaded Provenance Actions
inwx-domrobot-3.2.0.tar.gz 5.4 kB Without provenance Details for inwx-domrobot-3.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inwx-domrobot 3.2.0
File Interpreter ABI Platform Actions
inwx_domrobot-3.2.0-py3-none-any.whl Python 3 none any Details for inwx_domrobot-3.2.0-py3-none-any.whl

Total release size: 11.2 kB

Release files / inwx-domrobot-3.2.0.tar.gz

Download URL inwx-domrobot-3.2.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
190385c90be907431e0c669836d9926a9cae4a69518f3b483da34c781f2e3afb
BLAKE2b-256 checksum
How to use checksums
c2597a4bbcc7028967a2431c34b6e0c5598fe6f8d1a426a102fcea569a9f160f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / inwx_domrobot-3.2.0-py3-none-any.whl

Download URL inwx_domrobot-3.2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b852e57cf2e26e1b45531291a6e945c9382bbefd50c29ba87fb4753b8edfe35a
BLAKE2b-256 checksum
How to use checksums
3bdae82deffd568721ac4b67defa9159b54745454d065887484eab027bda89fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for inwx-domrobot 3.2.0

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