Getting speed limits

It is explained in this article that is linked in the documentation I linked to above. Each path detail list entry corresponds to two indices into the points array and a value. There is a new entry whenever the value changes, so a single entry might cover multiple ‘roads’. To find the beginnings and ends of single roads you could probably use the street_name or edge_id details. Looping over the segments should be no problem since they are JSON lists.