Where am I?
Posted by jpluimers on 2018/04/03
Google is smart; you can ask it https://www.google.com/search?q=what%27s+my+location
This is accurate enough for many uses (it’s off for a couple of kilometers):
curl "https://maps.googleapis.com/maps/api/browserlocation/json?browser=firefox&key=AIzaSyDBgL8fm9bD8RLShATOLI1xKmFcZ4ieMkM&sensor=true"
Some links about the above API:
- [WayBack] api – How to get my geolocation in bash – Stack Overflow
- [WayBack] shell scripts to get geolocations from google – Stack Overflow
- [WayBack] json – How to create a script to query Google Browserlocation – Stack Overflow
- [WayBack] JSON, CURL and Google’s geolocation – Stack Overflow
–jeroen
via: [WayBack] I need help; I want to know the geographical location of the place where I am…






Leave a comment