Answer the question
In order to leave comments, you need to log in
Do routers have an API?
I have a NETGEAR WGR616 v1 router. I would like to get some information from it like: what devices are connected to it, what is the connection with them, what is the average data transfer rate, etc.
On the Internet, or rather on github, I managed to find a library that allows you to do this, but in python.
The library itself mentions the so-called SOAP API, it was not possible to find documentation about it (Therefore, please explain how to work with it? Or tell us about routers that have a good API and a link to the documentation, thanks in advance :)
Preferably of course on node.js, php , c#. Didn't study Python.
Answer the question
In order to leave comments, you need to log in
Or tell us about routers that have a good API = Mikrotik www.mikrotik.com
See if your router can send information via the SNMP protocol, it seems to me that it will be much easier than walking and tormenting its web muzzle.
To solve the problem of managing routers, I wrote a Perl library that determined what kind of router it was via ssh and, depending on what kind of router it was, executed commands via ssh, depending on the methods called.
I think, if desired, the same without any problems can be implemented in Python and in any other language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question