with What Are Those and Formidable Forms?
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
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);
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formidable_forms: {
type: "app",
app: "formidable_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.formidable_forms.$auth.url}/wp-json/frm/v2/forms`,
auth: {
username: `${this.formidable_forms.$auth.api_key}`,
password: ``,
},
})
},
})