看板 Python 關於我們 聯絡資訊
最近寫一個程式用到了這個package googlemaps 1.0.2 https://pypi.python.org/pypi/googlemaps/ from googlemaps import GoogleMaps gmaps = GoogleMaps(API_key) add = 'Constitution Ave NW & 10th St NW, Washington, DC' lat, lng = gmaps.address_to_latlng(add) print lat, lng 一直會出現錯誤 GoogleMapsError: Error 610: G_GEO_BAD_KEY 應該是googlemap 的API KEY有錯 可是我googleapis帳戶裡面所有有關google maps的功能都開啟了 create new server key 和 creat new browser key都試過了還是出現ERROR 610 版上有人有用這個package成功過的嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.121.28.234
qwertmn:恩ˇˇ 如果你是想用Geocoding API現在不用api key了ˇˇ 03/23 22:40
qwertmn:所以不確定是不是以前的已經廢了0..0 03/23 22:40
qwertmn:http://ppt.cc/1J_l 03/23 22:41
qwertmn:用urllib2 直接抓XD 在解json 就好了@@+ 03/23 22:41
qwertmn:不過有這套件XD 來去玩看看0..0 03/23 22:43