Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
/ pyruckus Public archive

📶 Python client for Ruckus Unleashed routers

License

Notifications You must be signed in to change notification settings

gabe565/pyruckus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyruckus

A Python API which interacts with a Ruckus Unleashed device.

Important

This project is deprecated. It has been superseded by aioruckus, which uses HTTP and supports Python 3.11.

Setup

To install the pyruckus package:

pip3 install pyruckus

Usage

Each function is defined as an async function, so you will have to create an event loop instead of calling the functions directly in a shell.

from pyruckus import Ruckus
import asyncio

async def test_pyruckus():
    ruckus = Ruckus("<ruckus ip>", "<ruckus user>", "<ruckus password>")
    await ruckus.connect()

    ap_info = await ruckus.ap_info()
    mesh_info = await ruckus.mesh_info()
    system_info = await ruckus.system_info()
    config = await ruckus.config()
    clients = await ruckus.current_active_clients()
    wlan_info = await ruckus.wlan_info()

    ruckus.disconnect()

loop = asyncio.get_event_loop()
loop.run_until_complete(test_pyruckus())

About

📶 Python client for Ruckus Unleashed routers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages