Skip to main content

unifi_ap

Python API for UniFi accesspoints

Installation

  • pip install unifi_ap

Usage

currently this package can only be used by importing it into own python files

import unifi_ap
ap = unifi_ap.UniFiAP("10.0.0.253", "admin")
clients = ap.get_clients()
ssids = ap.get_ssids()
clients_for_ssid = ap.get_clients(for_ssids=["guest"])
  • Address/hostname and username are mandatory
  • if you don't define a password, ssh keys from the local ssh authentication agent are used
  • in addition/alternative to a password you can also define a private key file to be used for the authentication

UniFiAP("10.0.0.253", "admin", keyfile="my-rsa.key")

Features

  • get a list of SSIDs that the accesspoint is serving
  • get currently connected clients (you can specify the SSIDs for which you want to get the clients - default: all)

Credits

License

MIT

Release files for unifi-ap 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unifi-ap 0.0.2
File Size Uploaded
unifi_ap-0.0.2.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unifi-ap 0.0.2
File Interpreter ABI Platform
unifi_ap-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / unifi_ap-0.0.2.tar.gz

Download URL unifi_ap-0.0.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8e7f19091de4d27c5547772a789f4a744836f3fe896bdc96c6d92049afea7530
BLAKE2b-256 checksum
How to use checksums
ddca783efbe0fb66f636d0f417098e235d82f123b63717ecfb39cd05907114bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2024.

Transparency log

Release files / unifi_ap-0.0.2-py3-none-any.whl

Download URL unifi_ap-0.0.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
551c28b5a652aa93efb749f86f584984f675eddb6a235e780568d1576e4cd112
BLAKE2b-256 checksum
How to use checksums
8f2a335bc0ca6d4bf87af597123699d25f9b04df4c014d0577d33cf79c131b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page