with npm and Grain?
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
Emit new event when a highlight that matches the filter is added.
Fetches a specific recording by its ID from Grain, optionally including the transcript and intelligence notes. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    grain: {
      type: "app",
      app: "grain",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.grain.com/_/public-api/me`,
      headers: {
        Authorization: `Bearer ${this.grain.$auth.oauth_access_token}`,
      },
    })
  },
})