Onfleet is the world's most advanced last mile delivery platform.
Create a pickup task and dropoff task linked with each other. See the docs here
Find issues and pull requests by state and keyword. See docs here
Creates a single task. Used for simple templates only. See the docs here
Tired of manually managing your local delivery tasks and execution? Onfleet API
provides a way to automate and streamline your local delivery operations. With
Onfleet API, you can build powerful applications that can dramatically increase
the efficiency of your delivery business.
Here are some examples of what you can build with Onfleet API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onfleet: {
type: "app",
app: "onfleet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onfleet.com/api/v2/organization`,
auth: {
username: `${this.onfleet.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})