with npm and GenderAPI.io?
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
Send an Email to Gender request to GenderAPI. See the documentation
Send a Name to Gender request to GenderAPI. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    genderapi_io: {
      type: "app",
      app: "genderapi_io",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.genderapi.io/api/`,
      params: {
        name: `John Smith`,
        key: `${this.genderapi_io.$auth.api_key}`,
      },
    })
  },
})