- Notifications
You must be signed in to change notification settings - Fork0
Command-line CPE Insight API explorer
License
kivattt/cpe-insight
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cpe-insight is a tool to request information about your router from Telenor
Downloads are available for Linux, FreeBSD and Windows
Download and run the latest version in theReleases page
Add it to your path environment variable, or (on Linux/FreeBSD) place the executable in/usr/local/bin
This requires Go 1.21.5 or above (install Go)
git clone https://github.com/kivattt/cpe-insightcd cpe-insightgo build./cpe-insight # cpe-insight.exe on Windows
This tool outputs responses in JSON.
You can use the awesomejq to pretty-print them
Requesting a single endpoint:
cpe-insight --password="..." --endpoint status | jq
Requesting all endpoints and storing in afile.json
JSON file:
cpe-insight --password="..." --all --output file.json
To look through all the responses, open thefile.json
in Firefox
It sends requests tohttps://wifi.telenor.no
Some requests might reply that they are starting a job, and you may need to re-request later to get the results of it
cpe-insight currently only supports requesting the GET endpoints of the CPE Insight API, but not these:
/${t}/telemetry-historic/${e}/${t}/forgot-password/change/${e}/${r}
About
Command-line CPE Insight API explorer