how to use Google API to get the location based on WiFI MAC Address
-
12-06-2021 - |
質問
I am looking for document and a sample java client program for this to get the user's location (longitude and latitude based on wifi access point MAC address/SSID). However after searching for quite some time, I didn't find the exact documentation for this and a java sample client program.
It would be highly appreciated if someone could point me on the right track here. This is for using at Laptop instead of on smart phone.
I am also looking for similar API for getting the user location by using IP Address as well.
解決
Obsolete (preserved for historical reference only!):
Gears used the Geolocation Network Protocol and sent the information to the http://www.google.com/loc/json endpoint. The request format is documented, but the TOS does not permit you to do this as far as I know. It's essentially a non-public API.