with What Are Those and FlippingBook?
Identifies sneakers from a size tag photo and returns sneaker name and details. See the documentation
Generates a new flipbook from an input PDF file. See the documentation
Grades and authenticates sneakers using provided images. See the documentation
Locates a specific flipbook using the provided title. 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: {
flippingbook: {
type: "app",
app: "flippingbook",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-tc.is.flippingbook.com/api/v1/auth/me`,
headers: {
Authorization: `Bearer ${this.flippingbook.$auth.api_key}`,
},
})
},
})