with HotspotSystem and Formatting?
Emit new event when a new customer in a location is created. See the docs
Emit new event when a new subscriber in a location is created. See the docs
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 HotspotSystem API enables automation of hotspot management tasks, such as creating and managing user accounts, adjusting access packages, and retrieving usage statistics. Leveraging Pipedream's capabilities, you can build powerful workflows to interact with this API, automating tasks that otherwise would take considerable manual effort. Use Pipedream to integrate HotspotSystem with a myriad of services for notifications, data analysis, customer management, and more, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hotspotsystem: {
type: "app",
app: "hotspotsystem",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hotspotsystem.com/v2.0/me`,
headers: {
"sn-apikey": `${this.hotspotsystem.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})