mjsonofharry / udm

Python client for UDM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

udm

Python client for UDM.

Installation

pip install git+https://github.com/mjsonofharry/udm.git@v0.0.1

Usage

from udm.client import UdmClient

udm_client = UdmClient(
    username="",
    password="",
    ip_address="192.168.1.1",
    verify=True,
    cert_path="/path/to/udm/cert"
)
udm.login()
udm.create_portforwarding_rule(
    name="ioquake",
    port=27960,
    tcp=False,
    udp=True,
    enabled=True
)

About

Python client for UDM.

License:MIT License


Languages

Language:Python 100.0%