with V7 Darwin and Beeminder?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v7_darwin: {
type: "app",
app: "v7_darwin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://darwin.v7labs.com/api/memberships`,
headers: {
"Authorization": `ApiKey ${this.v7_darwin.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beeminder: {
type: "app",
app: "beeminder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.beeminder.com/api/v1/users/me.json`,
params: {
auth_token: `${this.beeminder.$auth.api_token}`,
},
})
},
})