with Samsung SmartThings and Clio - EU?
Emit new event when the state of a bill has changed in Clio. See the documentation
Emit new event when a new activity is created in Clio. See the documentation
Emit new event when a new document is created. See the documentation
The Samsung SmartThings API allows you to interface with various IoT devices within the Samsung SmartThings ecosystem, enabling control and monitoring from a centralized platform. Leveraging this API on Pipedream, you can create automated workflows that respond to device events, control devices programmatically, and integrate IoT data with hundreds of other services for advanced home automation, data logging, and smart notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smartthings: {
type: "app",
app: "smartthings",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smartthings.com/v1/devices`,
headers: {
Authorization: `Bearer ${this.smartthings.$auth.token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio_eu: {
type: "app",
app: "clio_eu",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://eu.app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio_eu.$auth.oauth_access_token}`,
},
})
},
})