with LINE Messaging and StreamWish?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
line_messaging_api: {
type: "app",
app: "line_messaging_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.line.me/v2/bot/info`,
headers: {
Authorization: `Bearer ${this.line_messaging_api.$auth.long_lived_channel_access_token}`,
},
})
},
})
The StreamWish API lets you connect and automate actions related to streaming services. With Pipedream, you can create workflows that trigger on specific events or schedules and use the StreamWish API to manage wishlists, alert viewers to new content, or aggregate streaming service data. By integrating the StreamWish API into Pipedream, you can design custom automations that enhance viewer engagement and streamline the content discovery process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
streamwish: {
type: "app",
app: "streamwish",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.streamwish.com/api/account/info`,
params: {
key: `${this.streamwish.$auth.api_key}`,
},
})
},
})