freifunk / api.freifunk.net

Freifunk Community API
http://freifunk.net/api-generator/
47 stars 24 forks source link

nodeMaps should probably point to json files instead of map location #131

Open psy opened 9 years ago

psy commented 9 years ago

As the ff map (http://www.freifunk-karte.de/) and maybe some other tools need the json files to get their data, they need a location to search for. So they use the nodeMaps entry from the api and just look in that folder for the node.json file. But the json files for the map (ffmap, meshviewer, ..) dont necessarily need to be in the same location as the map.

So the nodeMaps url field should either contain the url of the json files or there should be another field pointing to the node.json url.