with Fingertip and Pencil Spaces?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fingertip: {
type: "app",
app: "fingertip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ap1-production-creator-api.fingertip.com/api/v1/ping`,
headers: {
Authorization: `Bearer ${this.fingertip.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pencil_spaces: {
type: "app",
app: "pencil_spaces",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.pencil_spaces.$auth.api_url}users`,
headers: {
Authorization: `Bearer ${this.pencil_spaces.$auth.api_key}`,
},
})
},
})