<s> from geolocation . main import GoogleMaps <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> address = "<STR_LIT>" <EOL> google_maps = GoogleMaps ( api_key = '<STR_LIT>' ) <EOL> location = google_maps . search ( location = address ) <EOL> print ( location . all ( ) ) <EOL> my_location = location . first ( ) <EOL> print ( my_location . city ) <EOL> print ( my_location . route ) <EOL> print ( my_location . street_number ) <EOL> print ( my_location . postal_code ) <EOL> for administrative_area in my_location . administrative_area : <EOL> print ( "<STR_LIT>" % ( administrative_area . area_type , administrative_area . name ) ) <EOL> print ( my_location . country ) <EOL> print ( my_location . country_shortcut ) <EOL> print ( my_location . formatted_address ) <EOL> print ( my_location . lat ) <EOL> print ( my_location . lng ) </s>
