wifi-locate icon indicating copy to clipboard operation
wifi-locate copied to clipboard

Does the Google API still working ?

Open jlebel-gruz-ca opened this issue 7 years ago • 0 comments

Hi,

I've installed requests and wifi-locate and I got this message :

pi@rasp2:~/dev/beacon $ sudo python3 geolocation.py Traceback (most recent call last): File "geolocation.py", line 3, in accuracy, latlng = locate(linux_scan(device="wlan0", iwlist_path='/sbin/iwlist')) File "/usr/local/lib/python3.5/dist-packages/wifilocate.py", line 60, in locate res = response.json() File "/usr/lib/python3/dist-packages/requests/models.py", line 850, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/init.py", line 516, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 374, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 404, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I tried to reach the API web page : https://maps.googleapis.com/maps/api/browserlocation/json with a 404 error.

Am'I the only one with this problem ?

Thanks !

jlebel-gruz-ca avatar Oct 24 '17 12:10 jlebel-gruz-ca