with Rendi and Trakt?
Emit new event when a new FFmpeg command is submitted. See the documentation
Emit new event when a new file is uploaded to an account. See the documentation
Get the status of a previously submitted FFmpeg command. See the documentation
Get the list of all stored files for an account. See the documentation
Remove one of more items from watchlist. See the documentation
Submit an FFmpeg command for processing with input and output file specifications. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rendi: {
type: "app",
app: "rendi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rendi.dev/v1/files`,
headers: {
"x-api-key": `${this.rendi.$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}`,
},
})
},
})