The most accurate Content Classification API.
Submit a website URL for categorization by the API. See the documentation.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Get information about a company's domain. See the documentation.
Get the expiration date of a domain. See the documentation.
Get the technology stack of a domain. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klazify: {
type: "app",
app: "klazify",
}
},
async run({steps, $}) {
const data = {
"url": `{your_url}`,
}
return await axios($, {
method: "post",
url: `https://www.klazify.com/api/categorize`,
headers: {
Authorization: `Bearer ${this.klazify.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
data,
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})