{"id":50429304,"url":"https://github.com/roquerodrigo/tplink-deco-api","last_synced_at":"2026-05-31T13:01:35.741Z","repository":{"id":355248769,"uuid":"1226960758","full_name":"roquerodrigo/tplink-deco-api","owner":"roquerodrigo","description":"SDK Python para controle de roteadores TP-Link Deco via API HTTP interna","archived":false,"fork":false,"pushed_at":"2026-05-22T22:42:25.000Z","size":161,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T00:25:31.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roquerodrigo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T03:03:20.000Z","updated_at":"2026-05-22T22:42:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/roquerodrigo/tplink-deco-api","commit_stats":null,"previous_names":["roquerodrigo/tplink-deco-api"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/roquerodrigo/tplink-deco-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquerodrigo%2Ftplink-deco-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquerodrigo%2Ftplink-deco-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquerodrigo%2Ftplink-deco-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquerodrigo%2Ftplink-deco-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roquerodrigo","download_url":"https://codeload.github.com/roquerodrigo/tplink-deco-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquerodrigo%2Ftplink-deco-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33731998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T13:01:34.968Z","updated_at":"2026-05-31T13:01:35.719Z","avatar_url":"https://github.com/roquerodrigo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tplink-deco-api\n\n[![CI](https://github.com/roquerodrigo/tplink-deco-api/actions/workflows/ci.yml/badge.svg)](https://github.com/roquerodrigo/tplink-deco-api/actions/workflows/ci.yml)\n[![PyPI](https://img.shields.io/pypi/v/tplink-deco-api)](https://pypi.org/project/tplink-deco-api/)\n\nPython SDK for controlling **TP-Link Deco** mesh Wi-Fi routers via the internal HTTP API.\n\n## Installation\n\n```bash\npip install tplink-deco-api\n```\n\n## Usage\n\n```python\nfrom tplink_deco_api import DecoClient\n\nwith DecoClient(\"192.168.68.1\", \"admin\", \"your-password\") as deco:\n    for client in deco.get_client_list():\n        print(client.name, client.ip, client.connection_type)\n```\n\n## Available methods\n\n| Method | Returns |\n|--------|---------|\n| `login()` | `LoginResult` |\n| `get_device_list()` | `list[Device]` |\n| `get_device_mode()` | `DeviceMode` |\n| `get_wlan_config()` | `WlanConfig` |\n| `get_performance()` | `Performance` |\n| `get_client_list(deco_mac?)` | `list[ClientDevice]` |\n\n## Models\n\nEvery method returns typed dataclasses — no generic dictionaries.\n\n```python\nclient.mac              # \"AA:BB:CC:DD:EE:FF\"\nclient.name             # \"MacBook Pro\"\nclient.ip               # \"192.168.68.10\"\nclient.connection_type  # \"band6\"\nclient.online           # True\n\ndevice.device_model     # \"BE65\"\ndevice.software_ver     # \"1.2.10 Build 20251229\"\n\nwlan.band2_4.host.ssid      # \"My Network\"\nwlan.band2_4.guest.password # \"guest-password\"\n\nperf.cpu_usage  # 0.03\nperf.mem_usage  # 0.42\n```\n\n## Requirements\n\n- Python 3.11+\n- TP-Link Deco router reachable on the local network\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froquerodrigo%2Ftplink-deco-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froquerodrigo%2Ftplink-deco-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froquerodrigo%2Ftplink-deco-api/lists"}