with TestLocally and INDIEFUNNELS?
Emit new event when a new test is run or completed in TestLocally. See the documentation
Get details of a specific test in TestLocally. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
indiefunnels: {
type: "app",
app: "indiefunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.indiefunnels.$auth.api_url}/api/site/products`,
headers: {
Authorization: `Bearer ${this.indiefunnels.$auth.api_key}`,
"user-agent ": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})