A very simple DVS monitor scraper API
Go to file
2023-03-20 21:04:16 +00:00
dvsmon.conf API now gets username from radioid db 2023-03-19 10:39:57 +00:00
go.mod Working 2023-03-14 22:25:55 +00:00
go.sum Working 2023-03-14 22:25:55 +00:00
LICENSE Initial commit 2023-03-14 22:22:30 +00:00
main.go Stats endpoint 2023-03-20 20:44:31 +00:00
README.md Readme - further info 2023-03-20 21:04:16 +00:00

DVSMON - DVS dashboard monitor API

This internal API is used to provide last heard dashboard data on the dvsph.net website.

Endpoints

  • /monitor - Outputs last heard data
{
  "num":"1",                        / Dashboard position
  "date":"2023-03-20   20:58:37",   / Date
  "name":"John Doe",                / Users name
  "call":"M0ABC",                   / Users callsign
  "id":"235165",                    / Users DMR ID
  "sec":"28.9",                     / Seconds user has been transmitting
  "slot":"1",                       / Slot user is active on
  "talkgroup":"2345"                / Talkgroup user is active on
}
  • /monitor/stats
{
  "hits":95,                        / Number of API hits
  "refresh":287,                    / How many times the system has scraped data
  "uptime":914                      / API uptime in seconds
}

With love ❤️