Miktortik CLI command: /ip hotspot user print where name=User1"
Applied using code below:
api.get_binary_resource('/').call('ip/hotspot/user/print/where', {'name' : 'User1'})
Error:
routeros_api.exceptions.RouterOsApiCommunicationError: ('Error "no such command" executing command /ip/hotspot/user/print/where =name=User1 .tag=3', 'no such command')
What is the correct way to implement the CLI command to python code?
Miktortik CLI command: /ip hotspot user print where name=User1"
Applied using code below:
api.get_binary_resource('/').call('ip/hotspot/user/print/where', {'name' : 'User1'})
Error: routeros_api.exceptions.RouterOsApiCommunicationError: ('Error "no such command" executing command /ip/hotspot/user/print/where =name=User1 .tag=3', 'no such command')
What is the correct way to implement the CLI command to python code?
Thank you.