Unofficial Tenda Model N301 API
Install it using:
$ pip install tenda
These are the function currently available.
import tenda
manager = tenda.TendaManager('<ip_address>', '<your_password>')
# Get QOS
online_devices = manager.get_online_devices()
blocked_devices = manager.get_black_list()
# Set QOS
manager.block_device('<some_mac_address>')
# Reboot
manager.reboot()