Trakt is a service that integrates with your media center to better keep track of the TV shows and movies that you've watched.
Find issues and pull requests by state and keyword. 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://${this.trakt.$auth.environment}.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 GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})