with Klaxoon and TestLocally?
Emit new event when a new test is run or completed in TestLocally. See the documentation
Klaxoon offers interactive tools for enhanced team collaboration and engagement. The Klaxoon API enables programmatic interactions, allowing you to create, manage, and track Klaxoon activities like quizzes, surveys, and brainstorming sessions. When integrated into Pipedream workflows, you can automate interactions with Klaxoon, sync data with other services, and tailor collaboration activities to your team's needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klaxoon: {
type: "app",
app: "klaxoon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.klaxoon.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.klaxoon.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testlocally: {
type: "app",
app: "testlocally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://testlocal.ly/api/v0/me`,
headers: {
Authorization: `Bearer ${this.testlocally.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})