liamcottle / meshtastic-map

A map of all Meshtastic nodes heard via MQTT.
https://meshtastic.liamcottle.net
MIT License
74 stars 21 forks source link

How to list only node data #70

Closed uguraltinsoy closed 3 weeks ago

uguraltinsoy commented 3 weeks ago

In this project, how can I list only the connected nodes and display only the device information and locations without using a map? For example, I want it to function like an API that returns a dataset when queried.

liamcottle commented 3 weeks ago

You can query the API endpoints that the map interface uses, such as:

There's more APIs than these, but I won't list them all here. You can see what endpoints are available in the source code:

Of course, if you are self hosting the map, you can update the URL to point to your own instance instead.