MX is a fintech company that offers open banking, bank APIs, mobile banking, and more via modern connectivity and data enhancement.
Creates a new account for a specific user. See the documentation
Create a new document in a collection of your choice. See the docs here
Creates a new user in the MX Technologies platform. See the documentation
Execute an aggregation pipeline on a MongoDB collection. See the documentation
The MX Technologies API provides a range of financial data solutions, enabling users to obtain insights into personal finances, conduct risk analysis, and offer personalized financial advice. Within Pipedream, you can harness the power of the MX API to automate financial data aggregation, customer profiling, and trigger custom workflows based on financial events or changes in user data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mx_technologies: {
type: "app",
app: "mx_technologies",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mx_technologies.$auth.environment}.mx.com/users`,
headers: {
"Accept": `application/vnd.mx.api.v1+json`,
},
auth: {
username: `${this.mx_technologies.$auth.client_id}`,
password: `${this.mx_technologies.$auth.api_key}`,
},
})
},
})
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()
},
})