Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add RDAP flag in RequestParameters #8

Open
yfidouh opened this issue Jan 31, 2025 · 0 comments · May be fixed by #9
Open

[FEATURE] Add RDAP flag in RequestParameters #8

yfidouh opened this issue Jan 31, 2025 · 0 comments · May be fixed by #9

Comments

@yfidouh
Copy link

yfidouh commented Jan 31, 2025

Overview

The WHOIS API already supports an rdap flag, but there is currently no way to set this flag in the RequestParameters class within the Python client library.

Proposal

Add an rdap parameter to the RequestParameters class so that users can set rdap=1 (with the default rdap=0, consistent with the Whois API documentation) when building their request. This would help the Python client fully support the existing API functionality.

Example Usage

# Current usage (no RDAP support):
params = RequestParameters(ignore_raw_texts=1, da=2)  # etc.
# params.rdap = ?

# Proposed usage:
params = RequestParameters(rdap=1, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant