password - String - Login password - Default empty string.username - String - Login username - Default 'admin'.host - String - Hostname or IP of device.RouterOsApiPool ( host, username = 'admin', password = '', port = 8728, use_ssl = False, ssl_verify = True, ssl_verify_hostname = True, ssl_context = None, ) RouterOsApiPool ( 'IP', username = 'admin', password = '' ) api = connection. Usage Connection #!/usr/bin/python import routeros_api connection = routeros_api. Python API to RouterBoard devices produced by MikroTik.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |