Wrapper for 3WiFi Wireless Database
Project description
Python wrapper for 3WiFi Wireless Database
Install
pip install py3wifi
Or you can install from source with:
https://github.com/drygdryg/py3wifi.git
cd py3wifi
python setup.py install
Usage
Authorization
import py3wifi
api_session = py3wifi.Api(login='mylogin', password='mypassword')
api_session.auth()
Or with read API key:
api_session = py3wifi.Api(read_key='abcdefghijklmnopqrstuvwxyz123456')
Calling methods
>>> api_session.method('apiquery', params={'bssid': '4C:F2:BF:30:81:A4'})
{'4C:F2:BF:30:81:A4': [{'time': '2017-07-27 10:39:43', 'bssid': '4C:F2:BF:30:81:A4', 'essid': 'IDNet-41', 'sec': 'WPA2', 'key': '87059894216', 'wps': '12345678', 'lat': 54.89953995, 'lon': 69.14550781}]}
Or:
>>> api = api_session.get_api()
>>> api.apiquery(bssid='4C:F2:BF:30:81:A4')
{'4C:F2:BF:30:81:A4': [{'time': '2017-07-27 10:39:43', 'bssid': '4C:F2:BF:30:81:A4', 'essid': 'IDNet-41', 'sec': 'WPA2', 'key': '87059894216', 'wps': '12345678', 'lat': 54.89953995, 'lon': 69.14550781}]}
See https://3wifi.stascorp.com/apidoc for detailed API guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py3wifi-0.0.1.tar.gz
(3.3 kB
view details)
File details
Details for the file py3wifi-0.0.1.tar.gz
.
File metadata
- Download URL: py3wifi-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f36dfe26f5eab20c12a9b77eefbb70f90e49d3cdfbd3e8ac88e63060bd3ea62 |
|
MD5 | 7a06831da9f2fe11cf73ec3bf75e0744 |
|
BLAKE2b-256 | 6317abaa2d6b063b4bdd06049e5a61bd8836008e3b0d1a355b4886a9d0fde93a |