with API.Bible and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The API.Bible service allows you to integrate a vast collection of Bible translations into your applications, providing access to verses, chapters, and even audio Bibles. With API.Bible on Pipedream, you can build serverless workflows that automate tasks such as daily verse delivery, content search and retrieval, scripture comparison across translations, or the integration of scripture into educational or devotional apps. Pipedream's capability to connect with various other apps and services means you can seamlessly integrate scripture content into chatbots, social media posts, email campaigns, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api_bible: {
type: "app",
app: "api_bible",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scripture.api.bible/v1/bibles`,
headers: {
"api-key": `${this.api_bible.$auth.api_key}`,
},
})
},
})
# $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