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}`,
},
})
},
})
Send an Email to Gender request to GenderAPI. See the documentation
Send a Name to Gender request to GenderAPI. See the documentation
GenderAPI.io uses API keys for authentication. When you connect your GenderAPI.io account, Pipedream securely stores the keys so you can easily authenticate to GenderAPI.io APIs in both code and no-code steps.