import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dart: {
type: "app",
app: "dart",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.itsdart.com/api/v0/users`,
headers: {
Authorization: `Bearer ${this.dart.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
Checks for an existing task within a dartboard using the 'task-name'. If it doesn't exist, a new task is created. See the documentation
Dart uses API keys for authentication. When you connect your Dart account, Pipedream securely stores the keys so you can easily authenticate to Dart APIs in both code and no-code steps.