Skip to content

[Issue] Cannot list DenyList #17

@vdias

Description

@vdias

Describe the bug
Trying to list actual denylist and not get any info

To Reproduce

from nextdnsapi.api import *
import pyotp

# Variables
user_email = "XXXXX@XXXXXX"
user_password = "XXXXXXXXXXXXXXX"
qrbase = "XXXXXXXXXXXXXXXXXX"
config_main = "XXXXXXX"
config_family = "XXXXXXX"

# Login
totp = pyotp.TOTP(qrbase)
totp_code = totp.now()
print(totp_code)
header = account.login(user_email, user_password, totp_code)

# List DenyList
print(config_main)
denylist.list(config_main, header)

Expected behavior
Get a list of all URL on the DenyList configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions