A aysnc python 3 API wrapper for GL-inet routers with version 4 firmware. [WIP]
GL-inet routers are built on OpenWRT. They are highly customizeable but have an attractive user interface.
As part of their modiification of the UI they provide a locally accessible API.
I thought it would be handy to develop a python 3 wrapper for the API for easy intergation into other services such as HomeAssistant
pip3 install gli-py
python3 -V
or python -V
pip3 install poetry
poetry config virtualenvs.in-project true
create the venvs in the project folderpoetry install
poetry shell
router_pwd
in the root directory with the router password in.pytest -s
to see responses, assumes the router is at 192.168.0.1
poetry config pypi-token.pypi TOKEN
poetry publish
Todo list: