import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
robopost: {
type: "app",
app: "robopost",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.robopost.app/v1/video-series`,
params: {
apikey: `${this.robopost.$auth.api_key}`,
search_text: `educational`,
limit: `10`,
},
})
},
})
Robopost uses API keys for authentication. When you connect your Robopost account, Pipedream securely stores the keys so you can easily authenticate to Robopost APIs in both code and no-code steps.