Sympla is Brazil's leading self-service ticketing and event management platform.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Sympla API allows for the seamless integration of event management capabilities into various applications or services. With this API, you can automate tasks like attendee registration, event creation, ticket sales tracking, and participant communication. It's particularly useful for event organizers looking to streamline operations and enhance the attendee experience through automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sympla: {
type: "app",
app: "sympla",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sympla.com.br/public/v3/events`,
headers: {
"s_token": `${this.sympla.$auth.token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS