Forward API tokens as constructor parameters:
import wloc
locator =
wloc.WiFiLocator(gg_apikey=
'SAMPLE', ya_apikey=
'SAMPLE', mm_apikey=
'SAMPLE')
locator.fetch_networks()
result = locator.query_google()
print('Latitude: %.6f\nLongitude: %.6f\n' % (result[0], result[1]))
Definition __init__.py:17