Connector Info using API (Python)
Hi, I'm using the python library and I get almost all of the data that I need.
However, I also need connector information, but the API that I'm using gives me invalid route error
{'status': False, 'message': 'Route Not Found'}
def info(self, connector_id, no_parent=False):
if connector_id is None or connector_id == '':
return self.list()
params = {'no_parent': no_parent}
return requests.get('{api_endpoint}/connector/{connector_id}'.format(api_endpoint=API_TAGO, connector_id=connector_id), headers=self.default_headers, params=params).json()
What is the proper way to get connector info using API?
Thanks in advance!
Vincent