We have the CiscoDevNet/uniq on github.com but cannot find where all calls are documented. When looking under uniq/apis/nb/ see some of the functions in the library but I don't see everything. know that is call for GET /pnp-project. Also, pnpproject.getPnpSiteDevicesBySiteNameAndRange(), is that a call to GET /pnp-device. Where to find the documentation
This is generated from swagger. You can look at swagger on the controller or use help() in Python.
Try"pydoc" looks like easy to use. clone uniq to your local. go to that directory the execute "pydoc -g"
Click on open browser, that bring us views of all modules then find "uniq" we will get the uniq package contents
Package Contents | |||||
|
Some links for example
http://localhost:7464/uniq.utils.wait.html
but some is giving the errors like the following.
problem in ./uniq/apis/client_manager.py - <type 'exceptions.SyntaxError'>: Non-ASCII character '\xe2' in file ./uniq/apis/client_manager.py on line 158, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (client_manager.py, line 157)
- This is basically the documentation on developer.cisco.com can test it directly on server.What is missing is the name of the functions I can use in Python. For instance, from one of your scripts, I see this call: pnpproject.getPnpSiteByRange()
Check the scripts under this directory see if they help:
Comments
0 comments
Please sign in to leave a comment.