It is not clear how to get list of sip peers from ari/endpoints with this library.
Examples in repository show actions with channels and bridges but not with endpoints.
The JSON response is available via localhost:8088/ari/endpoints/SIP with browser or wscat.
How to get it via ari client ?
import ari
SERVER_ADDR = "http://localhost:8088/"
USER = "user"
PWD = "pwd"
client = ari.connect(SERVER_ADDR, USER, PWD)