A
A
Andrey Dyrkov2016-06-30 15:48:27
PHP
Andrey Dyrkov, 2016-06-30 15:48:27

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

3 answer(s)
N
Nikita Pavlov, 2016-07-04
@VIKINGVyksa

Or tell us about routers that have a good API = Mikrotik www.mikrotik.com

V
Vladimir, 2016-06-30
@MechanID

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.

R
Rozello, 2016-07-07
@Rozello

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 question

Ask a Question

731 491 924 answers to any question