Depends. What data did you get from the line tool?
If it's coordinates for all the turns and stops and whatnot, then you can simply concatenate them.
If it's beginning and end of each segment (e.g. from one coordinate to the next, or from one street/city to another), then you can input those in GMDL or http://getroute.nieko.net/ and concatenate the results you have.