Detrack is a real-time vehicle tracking & electronic proof of delivery solution that works anywhere in the world.
The DeTrack API allows developers to access data from the DeTrack system,
including GPS tracking data, vehicle and driver information, and much more.
Using the DeTrack API, developers can build a wide range of applications and
integrations, such as:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
detrack: {
type: "app",
app: "detrack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.detrack.com/api/v2/dn/jobs`,
headers: {
"X-API-KEY": `${this.detrack.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})