Skip to main content

mywigle is a wrapper for the WiGLE WiFi mapping API contains ai content

Installation

To install mywigle for Python 2.x or 3.x just call pip install mywigle
You'll also need to set up an account with WiGLE and retrieve your AP details to go into the config.py file

Usage

Using the API wrapper is very much like using the API itself. mywigle ha four modules, corresponding to the four sections of the WiGLE API v2. Seach section is a module in mywigle and each API endpoint is a function in that module.

To use the API, first import the section, then call the endpoin function. So to perform an authenticated GET request against an endpoint:

from mywigle import network
print(network.geocode(addresscode="London"))

This returns a dict, or raises an HTTPError if something went wrong.

API documentation

The mywigle API wrapper is fully documented with docstrings which wer correct as of 11/2/2017, but in case of any disagreement between thes and the interactive WiGLE API docs <https://api.wigle.net/swagger>__ the WiGLE docs take precedence. Please submit any discrepancies a issues here <https://github.com/jamiebull1/mywigle/issues>__

The sections and endpoints available are

  • file <https://api.wigle.net/swagger#/Network_observation_file_upload_and_status.>_

    • kml <https://api.wigle.net/swagger#!/Network_observation_file_upload_and_status./getKmlForTransId>_
    • transactions <https://api.wigle.net/swagger#!/Network_observation_file_upload_and_status./getTransLogsForUser>_
    • upload <https://api.wigle.net/swagger#!/Network_observation_file_upload_and_status./upload>_
  • network <https://api.wigle.net/swagger#/Network_search_and_information_tools>_

    • comment <https://api.wigle.net/swagger#!/Network_search_and_information_tools/comment>_
    • detail <https://api.wigle.net/swagger#!/Network_search_and_information_tools/detail>_
    • geocode <https://api.wigle.net/swagger#!/Network_search_and_information_tools/geocode>_
    • search <https://api.wigle.net/swagger#!/Network_search_and_information_tools/search>_
  • stats <https://api.wigle.net/swagger#/Statistics_and_information>_

    • countries <https://api.wigle.net/swagger#!/Statistics_and_information/countries>_
    • general <https://api.wigle.net/swagger#!/Statistics_and_information/generalStats>_
    • group <https://api.wigle.net/swagger#!/Statistics_and_information/groupStats>_
    • regions <https://api.wigle.net/swagger#!/Statistics_and_information/countryRegion>_
    • site <https://api.wigle.net/swagger#!/Statistics_and_information/siteStats>_
    • standings <https://api.wigle.net/swagger#!/Statistics_and_information/stats>_
    • user <https://api.wigle.net/swagger#!/Statistics_and_information/userStatistics>_
  • profile <https://api.wigle.net/swagger#/User_profile_operations>_

    • apiToken <https://api.wigle.net/swagger#!/User_profile_operations/apiToken>_
    • user <https://api.wigle.net/swagger#!/User_profile_operations/user>_

Thanks to ...

Metadata

Release files for mywigle 0.3.0

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

Source distribution (sdist)

Source distribution for mywigle 0.3.0
File Size Uploaded Provenance Actions
mywigle-0.3.0.tar.gz 8.8 kB Without provenance Details for mywigle-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mywigle 0.3.0
File Interpreter ABI Platform Actions
mywigle-0.3.0-py3-none-any.whl Python 3 none any Details for mywigle-0.3.0-py3-none-any.whl

Total release size: 21.0 kB

Release files / mywigle-0.3.0.tar.gz

Download URL mywigle-0.3.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6a47b427874d077af03e8b9b3284c3f7bb5dc60e737730369df9e7edeb9653d5
BLAKE2b-256 checksum
How to use checksums
e9c292fa32e3b261b35ba5d132d1fe108d0d7801d935a557794f9d9aa4ee03ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Linux/6.14.8-300.fc42.x86_64

Release files / mywigle-0.3.0-py3-none-any.whl

Download URL mywigle-0.3.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e04f2a013af0ec10e6a87814fa5a733fc549d5c5730c5ec77d78dfbd6482406
BLAKE2b-256 checksum
How to use checksums
03bcc2f987e8f5344ba7e041eeb7210475d57cb5b25c9bb9153ebc01b8b23419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.3 Linux/6.14.8-300.fc42.x86_64

Security for mywigle 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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