Hello, I’m new to mikrotik, helping a friend with a project but there’s a bit of a language barrier and I could use some help setting up.
So, my first question is how to instantiate the python class? I’ve taken the example from the docs ([example client][http://wiki.mikrotik.com/wiki/Manual:APl]), but it is expecting a parameter named ‘sk’. Can someone clarify what that is supposed to be? I don’t want to call the file and pass parameters into it, I would like to be able to make an instance in the code like so:
from api import ApiRos
api = ApiRos() # What goes here for the 'sk' parameter?