import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
woopra: {
type: "app",
app: "woopra",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://www.woopra.com/track/ce/`,
auth: {
username: `${this.woopra.$auth.app_id}`,
password: `${this.woopra.$auth.secret}`,
},
params: {
host: `pipedream.com`,
response: `json`,
cookie: `{your_cookie}`,
event: `{your_event_name}`,
},
})
},
})
Woopra uses API keys for authentication. When you connect your Woopra account, Pipedream securely stores the keys so you can easily authenticate to Woopra APIs in both code and no-code steps.
To retrieve your App ID and API Secret