with npm and Metabase?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
Retrieve dashboard information and its cards. See the documentation
Execute a saved question/card and return the results. See the documentation
The Metabase API opens a gateway to interact with Metabase programmatically, enabling you to automate reporting, dashboards, and data analysis operations. With Pipedream, you can harness this API to trigger workflows, manipulate data, and integrate with various other apps to create a seamless data ecosystem. Think of syncing Metabase insights with other tools, automating report generation, or reacting to events within your Metabase instance in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metabase: {
type: "app",
app: "metabase",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.metabase.$auth.server_address}/api/user/current`,
headers: {
"x-api-key": `${this.metabase.$auth.api_key}`,
},
})
},
})