with Yahoo! Fantasy Sports and Elevio?
Emit new event when a new football league transaction occurs
Emit new event any time a new article is created. See the documentation
Emit new event each time new feedback is submitted by a user via the elevio widget. See the documentation
Creates a new article in the Elevio knowledge base. See the documentation
Deletes an existing article from the Elevio knowledge base. See the documentation
Updates an existing article in the Elevio knowledge base. See the documentation
The Yahoo! Fantasy Sports API opens a realm of possibilities for sports enthusiasts and developers, allowing them to tap into fantasy leagues, player stats, and real-time scoring. Leverage this data source within Pipedream to automate team management, notifications, and data analysis. You can create dynamic workflows that react to league updates, automate team roster changes, or aggregate statistics for insightful analytics, all with real-time triggers and seamless integrations with hundreds of apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yahoo_fantasy_sports: {
type: "app",
app: "yahoo_fantasy_sports",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.login.yahoo.com/openid/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.yahoo_fantasy_sports.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elevio: {
type: "app",
app: "elevio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.elev.io/v1/articles`,
headers: {
Authorization: `Bearer ${this.elevio.$auth.api_token}`,
"x-api-key": `${this.elevio.$auth.api_key}`,
},
})
},
})