In today’s video we will see how we can use Python to configure our MikroTik RouterOS v7.x device. Python in high-level general-purpose programming language and is used to script/automate. You will learn few nuances of the language and you will try to understand how to make simple scripts to automate your daily configurations.
We will use pycharm in this video, you can download the same from:
https://www.jetbrains.com/pycharm/
In case you want to use Python’s default IDE, you can download it from:
https://www.python.org/
Github link to a sample code which you can use and change according to your need:
https://github.com/mksbcisco/YTrepo/tree/main/mt-automate
Today’s Code is also available in the above link
source
Hello, I need to develop a web app to use rest api from Mikrotik, but my questions is if Do you have the complete endpoints to use all the funcions. Mikrotik wiki about rest api, is poor, and I dont have clear all methos to use.
how to configure IP Address MikroTik via python rest API sir?
I just discovered you channel, and sir it is a hidden gem. Please keep them coming!
Nice video
Very informative. Lots of possibilities š
Next Video – DUDE Setup!