with Withings and Rhombus?
Emit new event when a new audit record for a specified event is created. See the documentation
Emit new event when a new button event is created. See the documentation
Emit new event when a new clip is created. See the documentation
Emit new event when a new door sensor event is created. See the documentation
Create a camera clip from video footage. See the documentation
Create custom activity seekpoints for a specified camera. See the documentation
Create a shared live video stream and get the URL to access it. See the documentation)
Play an uploaded audio clip through an audio device. See the documentation
Withings API lets you tap into health and wellness data from Withings devices like smart scales, watches, and sleep trackers. The API enables you to fetch measurements such as weight, activity, sleep, and heart rate data. This data can inform personal health apps, trigger notifications for health milestones, or integrate with health coaching platforms. By leveraging Pipedream's power, you can automate workflows that react to this data, enriching user profiles, informing coaching decisions, or driving wellness-focused communities and challenges.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
withings: {
type: "app",
app: "withings",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://wbsapi.withings.net/measure`,
headers: {
Authorization: `Bearer ${this.withings.$auth.oauth_access_token}`,
},
params: {
action: `getmeas`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rhombus: {
type: "app",
app: "rhombus",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api2.rhombussystems.com/api/org/getOrgV2`,
headers: {
"x-auth-apikey": `${this.rhombus.$auth.api_token}`,
"x-auth-scheme": `api-token`,
"content-type": `application/json`,
},
})
},
})