Python wrapper for TP-Link and Mercusys router management API. Supports Archer, Deco, and other models with firmware-based endpoints. Version 5.22.1 requires Python >= 3.10.
pip install tplinkrouterc6uNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Simple authentication and data retrieval. Replace host, username, password with your router credentials.
Use synchronous methods directly or import from tplinkrouterc6u.async if async is required.
Replace `timeout=10` with `timeout_seconds=10`.
Verify router compatibility before use. Check the GitHub README for supported models.
Use `requests.utils.quote(password, safe='')` to encode password before passing.
Run `pip install tplinkrouterc6u` and use correct import: `from tplinkrouterc6u import TplinkRouter`.
Verify router IP and port (default 80). Ensure you are on the same network and router accepts HTTP connections.
Double-check credentials. Some routers require admin/admin as default.
Update router firmware or use the async client: `from tplinkrouterc6u.async import TplinkRouter`.