socialwifi / RouterOS-api

Python API to RouterBoard devices produced by MikroTik.
MIT License
251 stars 100 forks source link

Reboot a router #81

Closed cykyy closed 2 years ago

cykyy commented 2 years ago

Hello, I am struggling to reboot a router. Can anyone help me out? Thanks.

jgoclawski commented 2 years ago

Hi, please check the examples in README. For rebooting the router, try api.get_binary_resource('/system').call('reboot', {}).

cykyy commented 2 years ago

Thanks it works @jgoclawski