The most accurate Content Classification API.
Submit a website URL for categorization by the API. See the documentation.
Create a new document in a collection of your choice. See the docs here
Get information about a company's domain. See the documentation.
Get the expiration date of a domain. See the documentation.
The Klazify API offers a way to classify websites into categories, discover company logo URLs, and access social media links from a domain. When integrated into Pipedream, this functionality can expand, allowing you to automate workflows for marketing analysis, content filtering, or business intelligence. You can trigger actions based on website categories, enrich CRM data with company logos, or compile lists of social media profiles for outreach.
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,
})
},
})
The MongoDB API provides powerful capabilities to interact with a MongoDB database, allowing you to perform CRUD (Create, Read, Update, Delete) operations, manage databases, and execute sophisticated queries. With Pipedream, you can harness these abilities to automate tasks, sync data across various apps, and react to events in real-time. It’s a combo that’s particularly potent for managing data workflows, syncing application states, or triggering actions based on changes to your data.
import mongodb from 'mongodb'
export default defineComponent({
props: {
mongodb: {
type: "app",
app: "mongodb",
},
collection: {
type: "string"
},
filter: {
type: "object"
}
},
async run({steps, $}) {
const MongoClient = mongodb.MongoClient
const {
database,
hostname,
username,
password,
} = this.mongodb.$auth
const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, {
useNewUrlParser: true,
useUnifiedTopology: true
})
const db = client.db(database)
const results = await db.collection(this.collection).find(this.filter).toArray();
$.export('results', results);
await client.close()
},
})