import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
event_tickets: {
type: "app",
app: "event_tickets",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.event_tickets.$auth.api_url}/wp-json/tribe/tickets/v1/attendees`,
auth: {
username: `${this.event_tickets.$auth.username}`,
password: `${this.event_tickets.$auth.application_password}`,
},
})
},
})
Event Tickets uses API keys for authentication. When you connect your Event Tickets account, Pipedream securely stores the keys so you can easily authenticate to Event Tickets APIs in both code and no-code steps.