with npm and Noor?
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
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    noor: {
      type: "app",
      app: "noor",
    }
  },
  async run({steps, $}) {
    const data = {
      "spaceId": `${this.noor.$auth.space_id}`,
    }
    return await axios($, {
      method: "post",
      url: `https://sun.noor.to/api/v0/getSpaceMembers`,
      headers: {
        Authorization: `Bearer ${this.noor.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})