https://github.com/go-http/router
golang版的路由器操作API接口
https://github.com/go-http/router
golang-library router sdk
Last synced: 3 months ago
JSON representation
golang版的路由器操作API接口
- Host: GitHub
- URL: https://github.com/go-http/router
- Owner: go-http
- Created: 2017-02-21T10:04:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T04:25:23.000Z (over 8 years ago)
- Last Synced: 2025-01-01T12:45:40.023Z (over 1 year ago)
- Topics: golang-library, router, sdk
- Language: Go
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-router-api
golang版的路由器操作API接口。
主要用于通过API自动控制路由器,而不是通过WEB管理界面手动操作。
目前支持[Mercury](http://www.mercurycom.com.cn)的部分操作,并在MW300R中测试。
# 原理
通过捕获WEB管理界面的请求并分析参数,得到操作路由器的方法。
# 支持的API列表
- [x] 获取DHCP客户端列表
- [x] 获取WiFi连接设备列表
- [x] 获取流量统计列表
- [ ] 修改WiFi密码及SSID
- [ ] 修改IP及Mac地址绑定
- [ ] 其他API
# TODO
* 支持其他更多品牌的路由器,比如TPLink、DLink、Netgear等