"place_id" : "ChIJp2Mn4E2-woARQS2FILlxUzk", "place_id" : "ChIJRVY_etDX3IARGYLVpoq7f68", String responseFromServer = reader.ReadToEnd() Ī JSON response will look something like this (from Directions API StreamReader reader = new StreamReader(data) Stream data = response.GetResponseStream() WebResponse response = request.GetResponse() string url = request = WebRequest.Create(url) Google Maps Api Documentation (under Web Service APIs) lists the request parameters and example responses. origin=.&destination=.&key=YOUR_API_KEY + parse the JSON response to do something with it. You would have to build up the GET parameters eg. You could use WebRequest to forge requests to the google api. You can just send HTTP-Requests to the google maps API and then work with the results. Create Requests to the Google Maps API by yourself
0 Comments
Leave a Reply. |