import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
little_green_light: {
type: "app",
app: "little_green_light",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.littlegreenlight.com/api/v1/constituents`,
headers: {
Authorization: `Bearer ${this.little_green_light.$auth.api_key}`,
},
})
},
})
Little Green Light uses API keys for authentication. When you connect your Little Green Light account, Pipedream securely stores the keys so you can easily authenticate to Little Green Light APIs in both code and no-code steps.
To retrieve your API Key,