with Gistly and ipstack?
Gistly API allows you to fetch transcripts or subtitles from YouTube videos in various formats. It's a powerful tool for integrating video content into your applications, enabling you to process and analyze video transcripts programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gistly: {
type: "app",
app: "gistly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gist.ly/health`,
headers: {
"x-api-key": `${this.gistly.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipstack: {
type: "app",
app: "ipstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.ipstack.com/8.8.8.8`,
params: {
access_key: `${this.ipstack.$auth.access_key}`,
},
})
},
})