Eventbrite brings people together through live experiences. Discover events that match your passions, or create your own with online ticketing tools.
Emit new event when a new child object is discovered within a specific path
Emit new event when a structured query returns new documents
Emit new event when an attendee checks in to an event
Emit new event when an attendee registers for an event
Get event attendees for a specified event. See the documentation
Creates or replaces a child object within your Firebase Realtime Database. See the docs here
The Eventbrite API offers a powerful way to create, manage, and attend events programmatically. With Pipedream, you can leverage this API to automate a swath of tasks such as syncing attendee data, updating events in real-time, and connecting Eventbrite to other apps to streamline event workflows. By employing Pipedream's serverless platform, you can engineer intricate automations that respond to event triggers (like new event creation or ticket purchase) and conduct actions across your software stack without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
eventbrite: {
type: "app",
app: "eventbrite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.eventbriteapi.com/v3/users/me/`,
headers: {
Authorization: `Bearer ${this.eventbrite.$auth.oauth_access_token}`,
},
})
},
})
The Firebase Admin SDK API provides powerful backend functionality for Firebase apps. It allows you to interact with Firebase services like Firestore, Firebase Realtime Database, Firebase Storage, and Firebase Authentication directly from a server. With Pipedream, you can harness this API to automate complex workflows, respond to Firebase events in real-time, and integrate with countless other services.
import admin from "firebase-admin"
export default defineComponent({
props: {
firebase_admin_sdk: {
type: "app",
app: "firebase_admin_sdk",
},
},
async run({ steps, $ }) {
// Enter values for the following parameters below this code step,
// These get passed to the initializeApp method below.
const {
projectId,
clientEmail,
privateKey,
region = "firebaseio.com",
} = this.firebase_admin_sdk.$auth
// Before passing the privateKey to the initializeApp constructor,
// we have to replace newline characters with literal newlines
const formattedPrivateKey = privateKey.replace(/\\n/g, "\n")
// See https://firebase.google.com/docs/reference/admin/node/admin.credential.html#cert
if (!admin.apps.length) {
admin.initializeApp({
credential: admin.credential.cert({
projectId,
clientEmail,
privateKey: formattedPrivateKey,
}),
databaseURL: `https://${projectId}-default-rtdb.${region}/`,
})
}
},
})