Last active
May 23, 2018 03:21
-
-
Save hehehaha0228/99071545390a738fb6e3077674e9ec28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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