WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

JSON
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Google GeoCode JSON Sample

 Keywords: winHttp WinHttp.WinHttpRequest.5.1 Google GeoCode JSON Sample longitude latitude 

; Where in the world is Wilson WindowWare
lat = "47.5531960"
lng = "-122.3874750"
url = "http://maps.googleapis.com/maps/api/geocode/json?latlng=" : lat : "," : lng : "&sensor=false"
WinHttpReq = ObjectCreate("WinHttp.WinHttpRequest.5.1")
WinHttpReq.Open("GET", url, @FALSE)
WinHttpReq.Send()
WinHttpReq.WaitForResponse()
jsonstring=WinHttpReq.ResponseText
Pause('Results',jsonstring)
Exit

Article ID:   W17962
Filename:   Google GeoCode JSON Sample.txt
File Created: 2012:04:19:08:28:20
Last Updated: 2012:04:19:08:28:20