Skip to content

API doesn't work to generate a custom list #27

Description

@JayFields

I am unable to get the API to work to generate a custom list. I always get HTTP 400. Here is an example:

list_config_api = {
    "startDate": "2024-12-10",
    "endDate": "2025-01-09",
    "combinationMethod": "dowdall",
    "listPrefix": "full",
    "filterPLD": "off",
    "filterSafeBrowsing": "on"
}

response = requests.put('https://tranco-list.eu/api/lists/create', auth=(username, api_key), json=list_config_api)
print(response.status_code)
400

I have tried with filterSafeBrowsing on and off.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions