Skip to main content

Yet another Wigle.net client API

Project description

yawigle

Yet Another Wigle.net API client (WIP).

Check https://api.wigle.net/swagger for the API documentation.

Installation

python3 -m pip install yawigle

API Key

Go to https://wigle.net/account and click on Show my token

Examples

Get SSID, Latitude and Longitude of a Wifi MAC Address

In [1]: from yawigle import client
In [2]: c = client('AIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
In [3]: nets = c.network.detail('fa:8f:ca:71:92:09')
In [4]: f"{nets[0]['ssid']} is located at {nets[0]['trilat']} {nets[0]['trilong']}"
Out[4]: 'Kitchen speaker.o is located at 37.23993301 -115.79644012'

Search network by SSID

In [1]: from yawigle import client                                        
In [2]: c = client('AIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
In [5]: nets = c.network.search(ssid='McDonalds Free WiFi')               
In [6]: nets[0]                 
Out[6]: 
{'trilat': 29.92946053,
 'trilong': -95.95930481,
 'ssid': 'McDonalds Free WiFi',
 'qos': 5,
 'transid': '20140703-00000',
 'firsttime': '2014-07-02T14:00:00.000Z',
 'lasttime': '2015-09-14T16:00:00.000Z',
 'lastupdt': '2015-09-14T16:00:00.000Z',
 'netid': '00:00:00:00:04:26',
 'name': None,
 'type': '????',
 'comment': None,
 'wep': '?',
 'bcninterval': 0,
 'freenet': '?',
 'dhcp': '?',
 'paynet': '?',
 'userfound': False,
 'channel': 0,
 'encryption': 'unknown',
 'country': 'US',
 'region': 'TX',
 'housenumber': None,
 'road': 'FM 362',
 'postalcode': '77484',
 'city': 'Waller'}

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

yawigle-0.0.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yawigle-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file yawigle-0.0.4.tar.gz.

File metadata

  • Download URL: yawigle-0.0.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1+

File hashes

Hashes for yawigle-0.0.4.tar.gz
Algorithm Hash digest
SHA256 91348137c6c5b6f6f3edd8b047f2c75a3ed5ed1c26a3e7b82bc1a1e57cb71b4e
MD5 69fde3309bfe53da74d4992e264769a1
BLAKE2b-256 a394bac6c542d17e8724cdc132d6f0f471905abb63e27df8112c59790a2cb4e9

See more details on using hashes here.

File details

Details for the file yawigle-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: yawigle-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1+

File hashes

Hashes for yawigle-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b96458e3f805e7bb32fd231bc693b80faa33f81af68b1a9e7a36f01ba37c5501
MD5 88303ee9a5542d87f398aced6590b1e8
BLAKE2b-256 a59b6670bc9e244509b5ffa686cb8518f090175b2cb71d3729356b665e081940

See more details on using hashes here.

Supported by

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