Instantly connect your business with millions of paying customers and the top performing affiliates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jvzoo: {
type: "app",
app: "jvzoo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jvzoo.com/v2.0`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.jvzoo.$auth.api_key}`,
password: `x`,
},
})
},
})
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})