with 46elks and Enedis Data-Connect?
Emit new event when data related to your 46elks account changes, primarily used to keep an eye out for changes in account balance, name, or email. See the documentation
Emit new event instantly when an SMS is received by a specific number linked to your 46elks account. See the documentation
Dials and connects two phone numbers using the 46elks service. See the documentation
Returns the daily average power consumed in W, on a given interval (by default 30 minutes). See the docs here
Returns the contact informations of a client. See the docs here
Composes and sends an SMS message to a specified phone number. See the documentation
The 46elks API grants access to a powerful suite of telephony services including SMS, MMS, and voice calls. You can use Pipedream to automate interactions with this API, creating workflows that respond to incoming messages, initiate outbound communication, or integrate with other services for enhanced functionality. Whether you're setting up SMS alerts, automating voice responses, or facilitating customer support, the 46elks API on Pipedream can streamline these processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_46elks: {
type: "app",
app: "_46elks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.46elks.com/a1/me`,
auth: {
username: `${this._46elks.$auth.username}`,
password: `${this._46elks.$auth.password}`,
},
})
},
})
Enedis Data-Connect API provides access to energy consumption data, enabling users to analyze and optimize electricity usage. By integrating with this API on Pipedream, you can automate the collection of meter readings, track energy consumption patterns, and even develop personalized energy-saving strategies. Pipedream's serverless platform simplifies connecting Enedis Data-Connect with other apps, allowing you to set up complex workflows without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
enedis: {
type: "app",
app: "enedis",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ext.hml.api.enedis.fr/metering_data_dcmp/v5/daily_consumption_max_power`,
headers: {
Authorization: `Bearer ${this.enedis.$auth.oauth_access_token}`,
},
params: {
start: ` `,
end: ``,
usage_points_id: ``,
},
})
},
})