with Etsy and TinyURL?
Emit new event when a new shop receipt is created. See the Documentation
Emit new event when a new transaction is created. See the Documentation
Creates a physical draft listing product in a shop on the Etsy channel. See the Documentation
Open API V3 endpoint to delete a ShopListing. A ShopListing can be deleted only if the state is one of the following: SOLD_OUT
, DRAFT
, EXPIRED
, INACTIVE
, ACTIVE
and is_available
or ACTIVE
and has seller flags: SUPRESSED
(frozen), VACATION
, CUSTOM_SHOPS
(pattern), SELL_ON_FACEBOOK
. See the Documentation
Retrieves analytics for a specific TinyURL link, including total clicks, geographic breakdowns, and device types. See the documentation
Etsy is a global e-commerce platform specializing in handmade, vintage, and craft items. It offers a marketplace where artisans can connect directly with buyers. The term 'Etsy' is a trademark of Etsy, Inc. This application uses the Etsy API but is not endorsed or certified by Etsy.
The Etsy API provides a rich interface to interact with the popular e-commerce platform known for its unique, handmade, and vintage items. Using the Etsy API via Pipedream, you can automate various aspects of your Etsy shop, including inventory management, order processing, and customer engagement. It opens up possibilities for streamlining mundane tasks, reacting to shop events in real-time, and syncing data across different platforms, enhancing the efficiency and responsiveness of your online business operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
etsy: {
type: "app",
app: "etsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.etsy.com/v3/application/users/me`,
headers: {
Authorization: `Bearer ${this.etsy.$auth.oauth_access_token}`,
"x-api-key": `${this.etsy.$auth.oauth_client_id}`,
},
})
},
})
The TinyURL API lets you shorten URLs seamlessly, which can be particularly useful when dealing with lengthy or complex web addresses. With Pipedream, you can integrate the TinyURL API to create concise, manageable links that can be easily shared, tracked, or embedded in various digital content. Beyond simple URL shortening, using Pipedream's serverless platform enables you to automate workflows that involve generating, distributing, and monitoring TinyURLs in conjunction with other apps and services.
module.exports = defineComponent({
props: {
tinyurl: {
type: "app",
app: "tinyurl",
}
},
async run({steps, $}) {
return (await require("@pipedream/platform").axios($, {
url: `https://api.tinyurl.com/create/`,
method: `post`,
headers: {
Authorization: `Bearer ${this.tinyurl.$auth.api_token}`,
},
data: {
url: `ftp://www.example.com/my-really-long-link-that-I-need-to-shorten/84378949`,
}
})).data
},
})