with Attentive and U301?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attentive: {
type: "app",
app: "attentive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attentivemobile.com/v1/me`,
headers: {
Authorization: `Bearer ${this.attentive.$auth.api_key}`,
},
})
},
})
The U301 API provides a robust platform for URL management, including features like URL shortening, analytics, and secure redirection. This API is extremely useful for businesses or developers who need to manage and analyze web traffic through compact, trackable URLs. Using Pipedream, you can integrate the U301 API into automated workflows that enhance marketing efforts, streamline link management, and provide detailed insights into click-through behaviors.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
u301: {
type: "app",
app: "u301",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.u301.com/v2/shorten`,
headers: {
Authorization: `Bearer ${this.u301.$auth.api_key}`,
},
params: {
url: `https://pipedream.com?via=go`,
title: `Pipedream - Connect APIs, AI, databases and more.`,
},
})
},
})