with Leap and Shopify (OAuth)?
Emit new event when a new image sample is created for a model. See the documentation
Emit new event when a new model is created. See the documentation
Emit new event whenever a collection is updated, including whenever products are added or removed from a collection.
Emit new event when a new model version is created/queued for training. See the documentation
Queues an image generation job and returns the job details. See the documentation
Adds a product or products to a custom collection. See the documentation
Creates a new custom model entity, which serves as a container that can be trained on custom images. See the documentation
Execute bulk mutations by uploading a JSONL file containing mutation variables. See the documentation
The Leap API enables automated interactions with the Leap.ai platform, which focuses on matching users with optimal job opportunities based on skills and preferences. In Pipedream, you can harness this API to create workflows that streamline the job search process, manage and analyze job matching data, or even integrate with other platforms to enhance the job seeking experience. With Pipedream's serverless execution environment, you can trigger these workflows on a schedule, via webhooks, or in response to events from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leap: {
type: "app",
app: "leap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tryleap.ai/api/v1/images/models`,
headers: {
Authorization: `Bearer ${this.leap.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Shopify provides a powerful API that enables developers to build a wide range
of applications and tools for merchants. Some examples of what you can build
using the Shopify API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shopify: {
type: "app",
app: "shopify",
}
},
async run({steps, $}) {
const data = {
"query": `{
shop {
id
name
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://${this.shopify.$auth.shop_id}.myshopify.com/admin/api/2024-04/graphql.json`,
headers: {
"X-Shopify-Access-Token": `${this.shopify.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})