Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation and other access points #3

Open
Aypac opened this issue Feb 5, 2022 · 4 comments
Open

API documentation and other access points #3

Aypac opened this issue Feb 5, 2022 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Aypac
Copy link

Aypac commented Feb 5, 2022

Thanks for this wrapper!
I could not find any reference to the API used and if it is applicable to any other access point than the M4. Do you have any information on either of those points?

@MrMarble
Copy link
Owner

MrMarble commented Feb 5, 2022

Hello Aypac!
Glad you like the wrapper!

Unfortunately I have not found any API information, the only thing I have found have been firmware images to decompile in which I did not find much information.
This wrapper was made by reversing the javascript and the requests made by the router dashboard. If the same dashboard is used with other router models it should work.

@MrMarble MrMarble self-assigned this Feb 22, 2022
@MrMarble MrMarble added the documentation Improvements or additions to documentation label Feb 22, 2022
@Bobu5
Copy link

Bobu5 commented Mar 25, 2022

probably off-topic but, any chance that the API that this guy has stumbled upon is the same api that Deco use?

https://github.com/fazalfarhan01/TP-Link-Router-Controller

@MrMarble
Copy link
Owner

He is using selenium, basically he is using the same web portal that you would use but automated with python.
My implementation directly uses the same API that the web portal uses to communicate with the router by skipping the web part.

I doubt that it will work the same, since the web interface of the router will have different options to the Deco, it is possible that my implementation could work changing the calls for the corresponding ones of that model.

@bjmc
Copy link

bjmc commented Jan 9, 2024

Rather than de-compiling firmware binaries, it might be possible to glean information looking at the source releases https://www.tp-link.com/us/support/gpl-code/ and/or sniffing network traffic from the Deco mobile app using something like wireshark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants