Skip to content

Instantly share code, notes, and snippets.

@hehehaha0228
Last active May 23, 2018 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hehehaha0228/99071545390a738fb6e3077674e9ec28 to your computer and use it in GitHub Desktop.
Save hehehaha0228/99071545390a738fb6e3077674e9ec28 to your computer and use it in GitHub Desktop.
radar_results = radar_results['results']
for radar_result in radar_results:
place_id = radar_result['place_id']
#以上取出12個地點的place_id,以下帶入函數place(place_id, language)
detail_results = gmaps.place(place_id, language = "zh-tw")
print(detail_results['result']['name'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment