Skip to content

talhabalaj/tenda-n301-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tenda

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_with_stats()
blocked_devices = manager.get_black_list()

# Set QOS
manager.block_device('<some_mac_address>')

# Reboot 
manager.reboot()