Samsara interview question

They asked me to use their open API to get route information and write a script.