Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Get Formatted Address from Google Maps API JSON
- wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|{"formatted_address"}'
- #or just result
- wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|.formatted_address'
Add Comment
Please, Sign In to add comment