Page 1 of 1

Help Please! - JSON error in Python Script

Posted: Tue Apr 25, 2017 8:22 pm
by DJFish
I have a Python script that I've been using to search for Long and Lats of SSIDs on wigle, I'm trying to show some security concerns to people.

This was working, however is no longer, I understand that the API has recently changed, does anyone know if this is anything to do with it?

I've tried going to http://api.wigle.net and get a 403 error?

the line I'm getting an error on is:

Code: Select all

obj = json.loads(response.read()) NameError: name 'response' is not defined

Can anyone please help me, I'm meant to be showing this to someone in a couple of days and I'm really struggling!!!

Thanks!

Re: Help Please! - JSON error in Python Script

Posted: Tue Apr 25, 2017 8:30 pm
by arkasha
well, I can't be sure without seeing the response you're getting or the code you're using, but from the information you've included, you might try using

Code: Select all

https
instead of

Code: Select all

http

Re: Help Please! - JSON error in Python Script

Posted: Tue Apr 25, 2017 8:35 pm
by DJFish
well, I can't be sure without seeing the response you're getting or the code you're using, but from the information you've included, you might try using

Code: Select all

https
instead of

Code: Select all

http
Hello,

I'm still getting a 403 even with https://api.wigle.net

Can I PM you the code I'm using?

Really appreciate your help