Smart Scales, Watches and Health Monitors
The Withings API allows developers to access and leverage Withings health data
to create innovative and valuable applications. With the Withings API, users
are able to build applications that give them access to data from Withings’
connected health devices such as activity trackers, digital scales, and blood
pressure and thermometer devices.
With the Withings API, it is possible to build applications that help users
connect to their data and use it effectively and efficiently. Here are a few
examples of what can be achieved with the Withings API:
By leveraging the Withings API, developers are able to unlock valuable,
actionable data to create innovative and useful applications that can improve
users’ lives.
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`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})