Skip to main content

Wrapper for 3WiFi Wireless Database

Project description

Python wrapper for 3WiFi Wireless Database

PyPI pyversions PyPI license PyPI version shields.io PyPI - Downloads

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


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.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

py3wifi-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file py3wifi-0.0.2.tar.gz.

File metadata

  • Download URL: py3wifi-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 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

Hashes for py3wifi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 37897695ddbdda3a671ba62d1393c33d8c3825f2314227565852cb7076bd0662
MD5 ee2ca68f23d2a248414c1595fe0aff52
BLAKE2b-256 39e57b7ae79a7fc575745e3686d123dd310910a41c7187405ed495e286bb1b8a

See more details on using hashes here.

File details

Details for the file py3wifi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: py3wifi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • 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

Hashes for py3wifi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e4b92d53d0485fa1b557bb793195f9d82fcb1de29a3faf7114e4203ca0a73e18
MD5 b7c59c8ff7805870a28509c8eb0dfbd1
BLAKE2b-256 c176ac03560de6403543e58705ae514fb15c91822fcdae151b792b5d88162aa5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page