pip install git+https://github.com/Sceptyre/python-umbrella-client.git@main
Bleeding Edge:
pip install git+https://github.com/Sceptyre/python-umbrella-client.git@devel
from umbrellaclient import UmbrellaClient
c = UmbrellaClient(
'<API_KEY>',
'<API_SECRET>'
)# Get all destination lists
c.destination_lists.get_destination_lists()
# Get specific destination list
c.destination_lists.get_destination_list('1234')
# Get list's destinations
c.destination_lists.get_destination_list_destinations('1234')
# Add destination to list
c.destination_lists.add_destination_list_destination('1234', 'example.com')