Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unwiredlabs service #20

Open
mrx23dot opened this issue Apr 5, 2024 · 1 comment
Open

Add unwiredlabs service #20

mrx23dot opened this issue Apr 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mrx23dot
Copy link

mrx23dot commented Apr 5, 2024

They also provide a database, claiming 4bilion wifi APs.

BSSID lookup has free 100calls/day/IP plan, but has to be activated via support.
https://unwiredlabs.com/api

demo

import requests

url = "https://eu1.unwiredlabs.com/v2/process"

payload = "{\"token\": \"your_API_token\",\"radio\": \"gsm\",\"mcc\": 310,\"mnc\": 410,\"cells\": [{\"lac\": 7033,\"cid\": 17811}],\"wifi\": [{\"bssid\": \"00:17:c5:cd:ca:aa\",\"channel\": 11,\"frequency\": 2412,\"signal\": -51}, {\"bssid\": \"d8:97:ba:c2:f0:5a\"}],\"address\": 1}"
response = requests.request("POST", url, data=payload)

print(response.text)

request

  {
      "token": "API key",
      "wifi": [{
          "bssid": "00:17:c5:cd:ca:aa",
          "signal": -51
      }, {
          "bssid": "d8:97:ba:c2:f0:5a"
      }],
      "address": 1
  }

they say min 2 closeby bssid s are needed, not sure how strict that is

response

{
    "status": "ok",
    "balance": 100,
    "lat": 39.56763197,
    "lon": -105.00727917,
    "accuracy": 10,  // meter
}
@GONZOsint GONZOsint added the enhancement New feature or request label Apr 7, 2024
@GONZOsint
Copy link
Owner

Thanks for all the feedback. If you can create a commit it will be great. @mrx23dot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants