socialwifi / RouterOS-api

Python API to RouterBoard devices produced by MikroTik.
MIT License
260 stars 98 forks source link

How can I use .proplist attribute ? #28

Closed scramatte closed 5 years ago

scramatte commented 6 years ago

Hi,

How can I use .proplist attribute to filter output result?

Regards

kramarz commented 5 years ago

Hey, it's realy old question so I am closing it.

The answer for that is you can just skip the dot and use proplist=... You can see that the proplist is handled differently here: https://github.com/socialwifi/RouterOS-api/blob/8078b9e3e6f1f62abedb5f8c039cc6c048971b5e/routeros_api/api_communicator/key_cleaner_decorator.py#L29