with Robopost and VideoAsk?
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
videoask: {
type: "app",
app: "videoask",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.videoask.com/me`,
headers: {
"Authorization": `Bearer ${this.videoask.$auth.api_token}`,
},
})
},
})