with Trakt and Checkvist?
Creates a new list item within a specified list. See the documentation
Enables creation of several list items at once from a block of text. Indentations in the text indicate nested list items. See the documentation
Remove one of more items from watchlist. See the documentation
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}`,
},
})
},
})
The Checkvist API allows for the creation and management of tasks and lists in a way that streamlines productivity and enhances organizational workflows. With the API, you can automate task updates, synchronize lists with other platforms, and trigger actions based on task completion. Utilizing Pipedream, these capabilities can be expanded by orchestrating complex workflows that connect Checkvist with a multitude of other apps and services, enabling seamless data flow and event-driven automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
checkvist: {
type: "app",
app: "checkvist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://checkvist.com/auth/curr_user.json`,
auth: {
username: `${this.checkvist.$auth.username}`,
password: `${this.checkvist.$auth.api_key}`,
},
})
},
})