Join allows you to easily do stuff remotely on your Android and PC devices like SMS, notifications, clipboard, and much more!
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})