hessu / aprsc

aprsc, a core APRS-IS server
125 stars 40 forks source link

Gettin data #52

Closed abdazzamajhari closed 4 years ago

abdazzamajhari commented 4 years ago

So i want to get the data of client table to create an API, how i can get the data for easily from port 14501? Any suggestion of this?

abdazzamajhari commented 4 years ago

anyone can tell me? to scrap the data localhost:14501 on clients table to database.. because i wanna create an API

hessu commented 4 years ago

If you'll look at the javascript code which populates the web page ( https://github.com/hessu/aprsc/blob/master/src/web/aprsc.js#L496 ), you'll find it queries a /status.json from the server. So, there's an API and there's no need to scrape.