Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesabbir/wrtapi
OpenWRT administration HTTP api written in go
https://github.com/thesabbir/wrtapi
go golang openwrt rest-api ubus
Last synced: 2 months ago
JSON representation
OpenWRT administration HTTP api written in go
- Host: GitHub
- URL: https://github.com/thesabbir/wrtapi
- Owner: thesabbir
- Created: 2017-02-03T20:09:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T07:01:37.000Z (almost 5 years ago)
- Last Synced: 2023-04-09T10:55:27.942Z (over 1 year ago)
- Topics: go, golang, openwrt, rest-api, ubus
- Language: Go
- Size: 8.79 KB
- Stars: 20
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpenWRT administration HTTP api written in go (Golang MIPS/ARM/x86 cross compilation)
----This project was created to be used for a mobile APP to display system info and network status. OpenWRT configuartion changes and other features could also be implemented with little effort.
* Golang net/http and [httprouter](https://github.com/julienschmidt/httprouter) is used for HTTP API
* HTTP API uses JSON data to comunicate with ubus [(OpenWrt micro bus architecture)](https://openwrt.org/docs/techref/ubus)Implemented API endpoints:
```
METHOD: GET/
```
```
METHOD: GET/system
```
```
METHOD: GET/system/board
```
```
METHOD: GET/system/services
```
```
METHOD: GET/network
```
```
METHOD: GET/network/interfaces
```
```
METHOD: GET/network/interfaces/wan
```
```
METHOD: GET/network/interfaces/lan
```
```
METHOD: GET/wlan
```
```
METHOD: GET/wlan/clients
```