with Lamini and Join?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lamini: {
type: "app",
app: "lamini",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lamini.ai/v2/classifier/projects`,
headers: {
Authorization: `Bearer ${this.lamini.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})