with Amazing Marvin and Referral Rocket?
The Amazing Marvin API lets you tap into your task management in a powerful way, enabling you to automate actions, fetch data for analysis, and sync with other apps. With Pipedream, these capabilities are amplified. You can create serverless workflows that interact with the Marvin tasks and projects, respond to events, and connect with countless other services to streamline your productivity systems. Whether you're looking to automatically schedule tasks, export your day's activities to other platforms, or trigger notifications based on task updates, Pipedream's integration makes it all possible without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazing_marvin: {
type: "app",
app: "amazing_marvin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://serv.amazingmarvin.com/api/me`,
headers: {
"X-API-Token": `${this.amazing_marvin.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referral_rocket: {
type: "app",
app: "referral_rocket",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.referralrocket.io/api/v1/getAllParticipants`,
headers: {
"x-api-key": `${this.referral_rocket.$auth.api_key}`,
},
params: {
id: `${this.referral_rocket.$auth.campaign_id}`,
},
})
},
})