Convert KML file to JSON/XML? – Piston: Design Help
1) Give a description of the problem
I have a car tracker that I can do a “GET” request in WC, but it’s just a long code of letters and numbers. When I type the url into Google (secure.accutracking.com/feeder/v3/ge-latestdata.php?id=redacted), I get a KML file which opens easily in Google Earth. I’d love to be able to extract the actual data as a $response in WC, but can’t figure out how. I can select which format, but I get a file nonetheless.
2) What is the expected behaviour?
Get KML file, and translate it in XML/JSON for use in a piston.
Read more here: Source link