Adafruit IO is a platform designed to display, respond, and interact with your project's Internet-of-Things (IoT) data.
You can use the Adafruit IO API to build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adafruit_io: {
type: "app",
app: "adafruit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://io.adafruit.com/api/v2/user`,
headers: {
"X-AIO-Key": `${this.adafruit_io.$auth.active_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})