with Hippo Video and Trakt?
Sends a personalization request for a specified video. See the documentation
Remove one of more items from watchlist. See the documentation
The Hippo Video API lets you harness the power of video in your business processes. Through Pipedream, you can automate video creation, management, and distribution workflows. This means you can trigger actions in Hippo Video based on events from other apps, or use Hippo Video events to kick off processes elsewhere. Whether it's automating video emails in your CRM, monitoring video analytics, or managing video content at scale, Pipedream's serverless platform empowers you to build and run workflows seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hippo_video: {
type: "app",
app: "hippo_video",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.hippovideo.io/api/v1/me/videos/list`,
params: {
email: `${this.hippo_video.$auth.email}`,
api_key: `${this.hippo_video.$auth.api_key}`,
},
})
},
})
The Trakt API provides an interface to track and discover movies and TV shows, allowing you to manage watchlists, get personalized recommendations, and engage with a social community of film and TV enthusiasts. On Pipedream, you can harness this API to create custom workflows that automate your media activities, sync your watch status with other apps, or even analyze your viewing habits.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trakt: {
type: "app",
app: "trakt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.trakt.tv/users/me`,
headers: {
Authorization: `Bearer ${this.trakt.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"trakt-api-version": `2`,
"trakt-api-key": `${this.trakt.$auth.oauth_client_id}`,
},
})
},
})