with What Are Those and ArcGIS Online?
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);
},
})
The ArcGIS Online API lets you work with ESRI's platform for mapping and spatial analysis. In Pipedream, harness this API to craft workflows combining GIS data management, location-based analytics, and automated mapping tasks. Pipedream's serverless architecture means you can trigger these workflows via HTTP requests, schedule them, or even fire them in response to emails or form submissions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
arcgis_online: {
type: "app",
app: "arcgis_online",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/outdoor`,
headers: {
Authorization: `Bearer ${this.arcgis_online.$auth.oauth_access_token}`,
},
})
},
})