with Mem and What Are Those?
Identifies sneakers from a size tag photo and returns sneaker name and details. See the documentation
Grades and authenticates sneakers using provided images. See the documentation
Identifies sneakers from an uploaded image and returns details such as name, links, images, prices, and confidence scores. See the documentation
The Mem API lets you interact with a unique knowledge base that adapts to your needs. Using Pipedream, you can automate tasks, sync information across apps, and trigger actions based on events in Mem. Think of pulling in tasks, pushing notifications, or archiving ideas - Pipedream serves as a superhighway for your Mem data to connect with over 800 apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mem: {
type: "app",
app: "mem",
}
},
async run({steps, $}) {
const data = {
"content": `Pipedream test - new mem`,
}
return await axios($, {
method: "post",
url: `https://api.mem.ai/v0/mems`,
headers: {
"Content-Type": `application/json`,
"Authorization": `ApiAccessToken ${this.mem.$auth.api_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
import request from "request";
export default defineComponent({
props: {
what_are_those: {
type: "app",
app: "what_are_those",
}
},
async run({steps, $}) {
const data = request("https://res.cloudinary.com/daiebfyiw/image/upload/v1735863877/what_those_are_sku_image_sample_nyhw4i.jpg");
let config = {
method: 'POST',
maxBodyLength: Infinity,
url: 'https://0blrzg7ahc.execute-api.us-east-1.amazonaws.com/Prod/skus',
headers: {
'Content-Type': 'image/jpeg',
'x-api-key': this.what_are_those.$auth.api_key
},
data
};
return await axios($,config);
},
})