wloc 1.1.0
Simple Wi-Fi geolocation library and tool
|
Public Member Functions | |
None | __init__ (self, str apikey) |
Protected Member Functions | |
list | _execute (self, list netlist) |
str | _uri (self) |
Class for working with the Google Geolocation API.
None wloc.backends.google.BackendGoogle.__init__ | ( | self, | |
str | apikey | ||
) |
Main constructor of the BackendGoogle class. :param apikey: String with the API token (key).
Reimplemented from wloc.backends.BackendCommon.
Reimplemented in wloc.backends.mozilla.BackendMozilla.
|
protected |
Internal implementation of the Google Geolocation API fetcher. :param netlist: The list of available Wi-Fi networks. :return: Coordinates (float).
Reimplemented from wloc.backends.BackendCommon.
|
protected |
Gets fully-qualified geolocation API URI. :return: Fully-qualified geolocation API URI.
Reimplemented from wloc.backends.BackendCommon.