with Gloria AI and BART?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gloria_ai: {
type: "app",
app: "gloria_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.iamgloria.com/api/v1/contact`,
headers: {
Authorization: `Bearer ${this.gloria_ai.$auth.api_key}`,
"tenant-id": `${this.gloria_ai.$auth.tenant_id}`,
},
data,
})
},
})
The BART API provides real-time data about the Bay Area Rapid Transit system, including schedules, advisories, and station information. Using Pipedream, developers can craft serverless workflows that react to BART data and integrate with countless apps to automate transit-related tasks, enrich apps with transit data, and enhance user experiences with up-to-the-minute BART information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bart: {
type: "app",
app: "bart",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bart.gov/api/version.aspx?key=${this.bart.$auth.api_key}&json=y`,
})
},
})