with AppsFlyer and Platform.ly?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appsflyer: {
type: "app",
app: "appsflyer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://hq1.appsflyer.com/api/pushapi/v1.0/fields/windowsphone`,
headers: {
Authorization: `Bearer ${this.appsflyer.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
The Platform.ly API allows for deep integration with your marketing automation, CRM, and business intelligence data. Within Pipedream, you can leverage this API to automate workflows, sync data with other services, trigger actions based on customer interactions, and analyze business metrics. The seamless connection with Pipedream opens up possibilities for enriching customer profiles, managing campaigns, and driving analytics-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
platform_ly: {
type: "app",
app: "platform_ly",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.platform_ly.$auth.api_key}`,
"action": `profile`,
"value": `{}`,
}
return await axios($, {
method: "post",
url: `https://api.platform.ly/`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})