Art-of-WiFi / UniFi-API-browser

Tool to browse data exposed by Ubiquiti's UniFi Controller API
MIT License
1.1k stars 150 forks source link

ENHANCEMENT #62

Closed JSylvia007 closed 5 years ago

JSylvia007 commented 5 years ago

After selecting the data you would like to see (and what gets shown in the window), have an option to export a "curl" (preferred) or "wget" command line to get the exact same output in the command line.

This would help me greatly in what I'm trying to accomplish with device presence and home automation.

malle-pietje commented 5 years ago

I will consider this, but really want to prevent support questions from users asking how to authenticate etc. This tool is intended to be a companion of the PHP API client which is why the used function is now also displayed above the data collection.

JSylvia007 commented 5 years ago

I'd appreciate it. I think it would be simple enough to just put a line that says in order to use it, you need to set some variables for username, etc.

malle-pietje commented 5 years ago

I agree that adding a note will be a requirement, but the code will also need to fetch the actual URL from the API client (or some other approach) which adds extra maintenance effort that I would rather spend on adding other features. So if I do add this to the roadmap, it will not be high up on the list I'm afraid.