Supabase

Supabase is an open source Firebase alternative.

Integrate the Supabase API with the Enedis Data-Connect API

Setup the Supabase API trigger to run a workflow which integrates with the Enedis Data-Connect API. Pipedream's integration platform allows you to integrate Supabase and Enedis Data-Connect remarkably fast. Free for developers.

Get Address with Enedis Data-Connect API on New Row Added from Supabase API
Supabase + Enedis Data-Connect
 
Try it
Get Address with Enedis Data-Connect API on New Webhook Event (Instant) from Supabase API
Supabase + Enedis Data-Connect
 
Try it
Get Consumption Load Curve with Enedis Data-Connect API on New Row Added from Supabase API
Supabase + Enedis Data-Connect
 
Try it
Get Consumption Load Curve with Enedis Data-Connect API on New Webhook Event (Instant) from Supabase API
Supabase + Enedis Data-Connect
 
Try it
Get Contact with Enedis Data-Connect API on New Row Added from Supabase API
Supabase + Enedis Data-Connect
 
Try it
New Row Added from the Supabase API

Emit new event for every new row added in a table. See documentation here

 
Try it
New Webhook Event (Instant) from the Supabase API

Emit new event for every insert, update, or delete operation in a table. This source requires user configuration using the Supabase website. More information in the README. Also see documentation here

 
Try it
Delete Row with the Supabase API

Deletes row(s) in a database. See the docs here

 
Try it
Get Address with the Enedis Data-Connect API

Returns the address of a client. See the docs here

 
Try it
Insert Row with the Supabase API

Inserts a new row into a database. See the docs here

 
Try it
Get Consumption Load Curve with the Enedis Data-Connect API

Returns the daily average power consumed in W, on a given interval (by default 30 minutes). See the docs here

 
Try it
Get Contact with the Enedis Data-Connect API

Returns the contact informations of a client. See the docs here

 
Try it

Overview of Supabase

Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.

Connect Supabase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    supabase: {
      type: "app",
      app: "supabase",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
      headers: {
        Authorization: `Bearer ${this.supabase.$auth.service_key}`,
        "apikey": `${this.supabase.$auth.service_key}`,
      },
    })
  },
})

Overview of Enedis Data-Connect

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.

Connect Enedis Data-Connect

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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: ``,
      },
    })
  },
})