Warpcast is a client for Farcaster, a new type of social network.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Warpcast API unlocks the potential for creating dynamic and interactive video experiences. With Pipedream, you can automate interactions with Warpcast, such as managing video content, analyzing viewer data, and integrating with other services. Pipedream's serverless platform facilitates building workflows that trigger on specific events, process data, and connect to countless other APIs, all with minimal setup and maintenance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
warpcast: {
type: "app",
app: "warpcast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.warpcast.com/v2/me`,
headers: {
Authorization: `Bearer ${this.warpcast.$auth.app_bearer_token}`,
"accept": `application/json`,
},
})
},
})
# $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