← 返回
效率工具 Key

RescueTime

Fetch productivity data from RescueTime. Use when the user asks about their screen time, productivity score, app usage, time tracking, how they spent their day/week, or wants reports on their computer activity. Requires API key in TOOLS.md or passed directly.
从RescueTime获取生产力数据。当用户询问屏幕时间、生产力评分、应用使用情况、时间追踪、日程/周程安排或需要计算机活动报告时使用。需要在TOOLS.md中配置API密钥或直接提供。
rusynandriy
效率工具 clawhub v1.0.0 1 版本 99377.6 Key: 需要
★ 1
Stars
📥 4,930
下载
💾 453
安装
1
版本
#latest

概述

RescueTime

Fetch productivity analytics from the RescueTime API.

Setup

Store API key in TOOLS.md:

### RescueTime
- API Key: YOUR_KEY_HERE

Get a key at: https://www.rescuetime.com/anapi/manage

API Endpoints

Analytic Data (main endpoint)

curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=activity"

Parameters:

  • perspective: rank, interval, member
  • restrict_kind: category, activity, productivity, efficiency, document
  • interval: month, week, day, hour (only for interval perspective)
  • restrict_begin / restrict_end: YYYY-MM-DD
  • restrict_thing: filter to specific app/site/category

Daily Summary Feed

curl "https://www.rescuetime.com/anapi/daily_summary_feed?key=API_KEY"

Returns last 14 days with productivity_pulse (0-100), total_hours, categories.

Productivity Levels

  • 2: Very Productive (coding, writing, Terminal, IDEs)
  • 1: Productive (communication, reference, learning)
  • 0: Neutral (uncategorized)
  • -1: Distracting (news, shopping)
  • -2: Very Distracting (social media, games)

Common Queries

Today's activity by app:

curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=activity&restrict_begin=$(date +%Y-%m-%d)&restrict_end=$(date +%Y-%m-%d)"

Productivity breakdown:

curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=productivity"

By category:

curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=rank&restrict_kind=category"

Hourly breakdown today:

curl "https://www.rescuetime.com/anapi/data?key=API_KEY&format=json&perspective=interval&restrict_kind=productivity&interval=hour&restrict_begin=$(date +%Y-%m-%d)&restrict_end=$(date +%Y-%m-%d)"

Response Format

{
  "row_headers": ["Rank", "Time Spent (seconds)", "Number of People", "Activity", "Category", "Productivity"],
  "rows": [[1, 3600, 1, "VS Code", "Editing & IDEs", 2], ...]
}

Convert seconds to hours: seconds / 3600

Tips

  • Productivity pulse 75+ is good, 85+ is excellent
  • Category view helps see broad patterns
  • Use interval perspective with hour for time-of-day analysis
  • Data syncs every 3 min (premium) or 30 min (free)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 10:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,721
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,104
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 429 📥 103,688