AlexandrErohin / TP-Link-Archer-C6U

Python package for API access and management for TP-Link Routers. See supported routers list
GNU General Public License v3.0
58 stars 22 forks source link

Some references for a few more routers #53

Open roger- opened 2 weeks ago

roger- commented 2 weeks ago

Thanks for this library!

If it's any help as a reference, I wrote some interfaces for these older routers a while ago:

Added the code here.

AlexandrErohin commented 2 weeks ago

Hi. Would be great if you could add them to this client. Their interfaces should be compatible with https://github.com/AlexandrErohin/TP-Link-Archer-C6U/blob/main/tplinkrouterc6u/client.py#L21

roger- commented 2 weeks ago

Sure, I'll take a look when I have more time.

BTW have you thought about async support?

AlexandrErohin commented 2 weeks ago

I prefer to make this client as simple as possible to use. Async making more complex to use. If someone needs it - he always can asyncio.run . Using async inside the client is not necessary as router can process only one request per time

AlexandrErohin commented 5 days ago

@roger- Hi I have updated the instruction. Please check the client examples https://github.com/AlexandrErohin/TP-Link-Archer-C6U/blob/main/CONTRIBUTING.md