with Ghost.org (Admin API) and Philips Hue?
Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). See the documentation
Emit new event each time a member is deleted from a site.
Emit new event when a specific scene is activated. See the documentation
Emit new event each time a member is updated.
Emit new event when a linked Hue sensor (e.g., motion, temperature, or ambient light) sends an update. See the documentation
Sets the light color of a Philips Hue light. See the documentation
Turns on or off a Philips Hue light or group of lights. See the documentation
The Ghost.org (Admin API) provides a powerful platform for content management and distribution, allowing developers to programmatically interact with their Ghost site. With this API, you can automate content creation, manage posts, pages, and tags, and dynamically adjust site settings. This enables seamless content workflows, from drafting and scheduling posts to curating featured articles and managing user access. When used with Pipedream, these capabilities expand, enabling integrations with countless other services to create sophisticated, automated content pipelines that can save time and enhance your content strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ghost_org_admin: {
      type: "app",
      app: "ghost_org_admin",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.ghost_org_admin.$auth.admin_api_url}}/ghost/api/v3/admin/site`,
      headers: {
        Authorization: `Bearer ${this.ghost_org_admin.$auth.admin_api_key}`,
      },
    })
  },
})
The Philips Hue API offers rich control over Philips Hue smart lighting systems. Via Pipedream, you can automate your lighting based on various triggers – think syncing lights with the sun's cycle, changing color to indicate new emails, or even integrating with motion sensors for a smart-home experience. With Pipedream's capabilities to connect to countless services, the possibilities of creating personalized lighting scenarios are vast, limited only by your imagination and the availability of triggers or events from other services and devices.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    philips_hue: {
      type: "app",
      app: "philips_hue",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.meethue.com/v2/api/resource`,
      headers: {
        Authorization: `Bearer ${this.philips_hue.$auth.oauth_access_token}`,
      },
    })
  },
})