with AppsFlyer and AppsFlyer?
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`,
},
})
},
})
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`,
},
})
},
})