Monday, 8 December 2014

Google Direction API making HTTP URL transit detail xml request



I was able to run HTTP URL request getting back XML response with the nearest subway station near an address. Using the PlaceID i got in the prior request, I then was able to run another request getting back XML response for Detailed Place info. Tho, I realized the Detailed Place request doesnt have specific subway stop information such as Train Line serviced at the location, Schedule, Etc. I learned that Google Direction API has an object called Transit_Detail, which provide all the transit info of a particular subway station. Yet, it shows how it can be used in a Javascript google.map script. I couldn't find a reference as to how to sent a request using HTTP URL. Below id the URL I used to get a detail place XML info, it works, just doesnt have the specific transit_detail info i was looking for.


http://ift.tt/1G79EF7 ID]


No comments:

Post a Comment