with Microsoft Power BI and Patreon?
Adds new data rows to the specified table within the specified dataset from My workspace. See the documentation
Cancels a refresh operation for a specified dataset in Power BI. See the documentation
Creates a new Push Dataset in Power BI. See the documentation
Triggers a refresh operation for a specified Power BI dataset. See the documentation
Triggers a refresh operation for a specified Power BI dataset. See the documentation
The Microsoft Power BI API allows you to interact with your Power BI assets programmatically. With this API, you can embed your reports and dashboards into applications, manage Power BI datasets, push data into datasets for real-time dashboard updates, and automate your reporting workflows. On Pipedream, you can use this API to create intricate workflows that react to various triggers, like webhooks or schedules, and perform actions like refreshing datasets, posting to datasets, and managing Power BI assets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_power_bi: {
type: "app",
app: "microsoft_power_bi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.powerbi.com/v1.0/myorg/availableFeatures`,
headers: {
Authorization: `Bearer ${this.microsoft_power_bi.$auth.oauth_access_token}`,
},
})
},
})
Pipedream's integration with the Patreon API enables creators to automate interactions with their patrons, manage memberships, and streamline content delivery. By leveraging Pipedream's ability to connect with hundreds of apps, creators can set up custom workflows that trigger actions based on Patreon events, like new pledges, or that perform regular tasks, like sending messages to patrons.
import axios from "axios"
export default defineComponent({
props: {
patreon: {
type: "app",
app: "patreon",
}
},
async run({steps, $}) {
const resp = await axios({
url: `https://www.patreon.com/api/oauth2/v2/identity?fields%5Buser%5D=email,full_name`,
headers: {
Authorization: `Bearer ${this.patreon.$auth.oauth_access_token}`,
"Content-Type": `application/x-www-form-urlencoded`,
},
})
return resp.data
},
})