Description :
ให้ข้อมูลพิกัดสถานที่
พิกัดบางแห่งมาจากการประมาณและการเพิ่มโดย user
URL:
http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong&key=…&appid=…&q=…&format=…&callback=.. .
API Status:
Online
Formats: (Click for sample output)
XML, JSON, JS, CSV, TABLE(HTML)
HTTP Method:
GET
Requires Authentication :
true
API rate limited :
ไม่จำกัด
Parameters :
Required *
*api = ประเภทของ api ที่ต้องการ (getLatLong)
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong
*key = รหัสที่ได้รับจากการลงทะเบียน (ลงทะเบียน)
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong&key=(คีย์ ที่ได้รับจากการลงทะเบียน)
*appid = id ที่ได้รับจากการลงทะเบียน (ลงทะเบียน)
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong&key=(คีย์ที่ได้รับจากการลงทะเบียน)&appid=(id ที่ได้รับจากการลงทะเบียน)
*q = สถานที่หรือถนนที่ต้องการทราบพิกัด
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLongt&key=(คีย์ที่ได้รับจากการลงทะเบียน)&appid=(id ที่ได้รับจากการลงทะเบียน)&q=…
format = รูปแบบของการแสดงผล (XML, JSON, JS, CSV, TABLE) default : XML
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong&key=(คีย์ที่ได้รับจากการลงทะเบียน)&appid=(id ที่ได้รับจากการลงทะเบียน)&q=…&format=XML
callback = ชื่อ callback function ที่ต้องการ (output in JS format require) default: Function
Example: http://api.traffy.in.th/apis/apitraffy.php?api=getLatLong&key=(คีย์ที่ได้รับจากการลงทะเบียน)&appid=(id ที่ได้รับจากการลงทะเบียน)&q=…&format=JS&callback=myfunc
Response :
XML example:
JSON example:
CSV example:
getLagLong ….