with Join and Sylius?
The Join API allows for pushing notifications, URLs, files, and commands between devices connected to a user's Google account. By leveraging Join with Pipedream, you can automate cross-device messaging and data sharing. It's a bridge that connects your devices, enabling them to work in tandem through automated workflows. With Pipedream's capacity for integration, you can trigger events from a plethora of apps to send data to your devices via Join or vice versa.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
join: {
type: "app",
app: "join",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://joinjoaomgcd.appspot.com/_ah/api/registration/v1/listDevices`,
params: {
apikey: `${this.join.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sylius: {
type: "app",
app: "sylius",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sylius.$auth.api_url}/api/v2/shop/product-variants`,
headers: {
Authorization: `Bearer ${this.sylius.$auth.oauth_access_token}`,
"accept": `application/ld+json`,
},
params: {
page: `1`,
itemsPerPage: `30`,
},
})
},
})