RescueTime

A personal analytics service that shows you how you spend your time and provides tools to help you be more productive.

Integrate the RescueTime API with the Discord API

Setup the RescueTime API trigger to run a workflow which integrates with the Discord API. Pipedream's integration platform allows you to integrate RescueTime and Discord remarkably fast. Free for developers.

Send Message (Advanced) with Discord API on New Daily Summary Report Created from RescueTime API
RescueTime + Discord
 
Try it
Send Message with Discord API on New Daily Summary Report Created from RescueTime API
RescueTime + Discord
 
Try it
Send Message With File with Discord API on New Daily Summary Report Created from RescueTime API
RescueTime + Discord
 
Try it
New Daily Summary Report Created from the RescueTime API

Emit new event each time a new daily summary report is available. See the docs here

 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it
Send Message With File with the Discord API

Post a message with an attached file

 
Try it

Overview of RescueTime

The RescueTime API can help you obtain actionable insights from your digital
usage data. With it, you can develop projects that measure and compare daily
activity, measure time spent on specific tasks, and identify and track
productivity trends. With this powerful API, you have the ability to optimize
your productivity and understand how to best manage your digital life.

Here are some ways you can use the RescueTime API:

  • Monitor how much time you spend on specific tasks, websites and apps.
  • Analyze daily productivity and behavior over time.
  • Set up personal or team productivity goals.
  • Integrate with existing third-party systems to measure productivity.
  • Create customized reports and visualizations.
  • Run automations and get notifications based on specific digital activity.
  • Receive detailed time breakdowns for any timeframe.
  • Measure team productivity across multiple devices.

Connect RescueTime

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    rescuetime: {
      type: "app",
      app: "rescuetime",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.rescuetime.com/api/oauth/data`,
      params: {
        access_token: `${this.rescuetime.$auth.oauth_access_token}`,
        perspective: `interval`,
        restrict_kind: `productivity`,
        interval: `hour`,
        restrict_begin: `2018-01-01`,
        restrict_end: `2018-01-31`,
        format: `json`,
      },
    })
  },
})

Overview of Discord

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord

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: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})