Skip to main content

mywigle is a wrapper for the WiGLE WiFi mapping API

Project description

mywigle is a wrapper for the WiGLE WiFi mapping API

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>_

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

mywigle-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

mywigle-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file mywigle-0.1.0.tar.gz.

File metadata

  • Download URL: mywigle-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.8-300.fc42.x86_64

File hashes

Hashes for mywigle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8963afd815b4662308ee3882be12ba0af6c29fc06fa51318542beca74092c51a
MD5 5f13af4ad3254afac490e4cc3d4a2b13
BLAKE2b-256 30cb5d65013b8ab15352e859999664d3459fa8c7fc6d1da39ca97bfc9d32e257

See more details on using hashes here.

File details

Details for the file mywigle-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mywigle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Linux/6.14.8-300.fc42.x86_64

File hashes

Hashes for mywigle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d209b15bbb6e317dc6ff8b802147f2f635576eb5fda63b81983ca009751c31db
MD5 89584bf4d615c073774b8023ebb68232
BLAKE2b-256 f8de787b63e7a713bb691b0ef58db7bba28874ea49941e0cd907812eb6b5dd33

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