with BuySellAds and Prisma Postgres?
Returns the creative stats for line items. See the documentation
Returns the creative stats by day for line items. See the documentation
Returns the daily stats for active line items. See the documentation
Returns the details of active line items. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buysellads: {
type: "app",
app: "buysellads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://papi.buysellads.com/daily-stats`,
params: {
key: `${this.buysellads.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
prisma_management_api: {
type: "app",
app: "prisma_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.prisma.io/v1/workspaces`,
headers: {
Authorization: `Bearer ${this.prisma_management_api.$auth.api_token}`,
"accept": `application/json`,
},
params: {
limit: `100`,
},
})
},
})