Help with API requests

Talk about whatever

2 posts • Page 1 of 1

Postby Js910 » Thu Nov 17, 2022 7:32 pm

I'm trying to query the Wigle API from a jupyter notebook with the code below, but keep receiving the following error: HTTPError: 401 Client Error: Unauthorized for url: ... e=Marriott

Code: Select all

import requests import json

Code: Select all

ssidlike = "Marriott" url = f"{ssidlike}"

Code: Select all

response = requests.get(url) response.raise_for_status() if response.status_code != 204: return response.json()
I suspect it has something to do with authentication, but in the documentation page on Wigle, I don't see/understand where I would include my api key. Any help would be greatly appreciated.

Postby arkasha » Fri Nov 18, 2022 5:14 pm

check your page for keys and details.

2 posts • Page 1 of 1

Return to “General Grabbag”

Who is online

Users browsing this forum: No registered users and 4 guests