with AccuWeather and Push by Techulus?
Retrieve current weather conditions for a specific location using its location key. See the documentation
Sends a new Push notification to the user. See the documentation
Get daily weather forecast for a specific location with temperature, precipitation, and conditions. See the documentation
Retrieve historical weather data for a specific location and date range. See the documentation
Retrieve hourly weather forecast (1-12 hours) for a specific location with detailed weather data. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuweather: {
type: "app",
app: "accuweather",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://dataservice.accuweather.com/locations/v1/regions`,
params: {
apikey: `${this.accuweather.$auth.api_key}`,
},
})
},
})
The Push by Techulus API offers a straightforward way to send notifications directly to your devices. With this functionality within Pipedream, you can craft workflows that alert you or someone else when certain events happen in your apps or in your code. Think of it as wiring a custom doorbell for the digital events that matter to you. Whether you're tracking sales on your e-commerce platform, monitoring website uptime, or just want to get pinged when your long-running script finishes, Push by Techulus nudges you in real time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
push_by_techulus: {
type: "app",
app: "push_by_techulus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://push.techulus.com/api/v1/notify/${this.push_by_techulus.$auth.api_key}`,
headers: {
"x-api-key": `${this.push_by_techulus.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
title: `Welcome to Push by Techulus`,
body: `This is your first notification`,
},
})
},
})