SB
Size: a a a
SB
РД
АК
V
SB
АК
РД
ИК
V
АК
V
ИК
V
AS
AS
РД
AS
МК
a
from librouteros import connectответ
router = '192.168.88.1'
USERNAME = 'admin'
PASSWORD = 'admin'
api = connect(router, USERNAME, PASSWORD)
check_for_updates = api(cmd='/system/package/update/check-for-updates')
print(list(check_for_updates))
[{'channel': 'stable', 'installed-version': '6.47', 'status': 'finding out latest version...', '.section': 0}, {'channel': 'stable', 'installed-version': '6.47', 'latest-version': '6.47.1', 'status': 'New version is available', '.section': 1}]
a